class Language::Collection
- Language::Collection
- Clear::Model::CollectionBase(Language)
- Reference
- Object
Overview
Addition of the method for eager loading and N+1 avoidance.
Defined in:
models/language.crInstance Method Summary
-
#with_repositories(&block : Repository::Collection -> ) : self
Eager load the relation repositories.
- #with_repositories
Instance Method Detail
Eager load the relation repositories. Use it to avoid N+1 queries.