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