class Allocation::Collection
- Allocation::Collection
- Clear::Model::CollectionBase(Allocation)
- 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_outputs(fetch_columns = false, &block : Output::Collection -> ) : self
Eager load the has many relation outputs.
- #with_outputs(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 outputs. Use it to avoid N+1 queries.