class Build::Collection
- Build::Collection
- Clear::Model::CollectionBase(Build)
- Reference
- Object
Overview
Addition of the method for eager loading and N+1 avoidance.
Defined in:
bitte_ci/model.crInstance Method Summary
-
#with_jobs(fetch_columns = false, &block : Job::Collection -> ) : self
Eager load the has many relation jobs.
- #with_jobs(fetch_columns = false)
- #with_pull_request(fetch_columns = false, &block : PullRequest::Collection -> ) : self
- #with_pull_request(fetch_columns = false) : self
Instance Method Detail
Eager load the has many relation jobs. Use it to avoid N+1 queries.