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