class
Relationship::Collection
- Relationship::Collection
- Lustra::Model::CollectionBase(Relationship)
- Reference
- Object
Overview
:doc: Lustra::Model::Collection
This is the object managing a SELECT
request.
A new collection is created by calling Lustra::Model.query
Collection are mutable and refining the SQL will mutate the collection.
You may want to copy the collection by calling dup
See Lustra::Model::CollectionBase
Defined in:
models/relationships.crInstance Method Summary
- #with_follower(fetch_columns = false, &block : Post::Collection -> ) : self
- #with_follower(fetch_columns = false) : self
- #with_leader(fetch_columns = false, &block : Post::Collection -> ) : self
- #with_leader(fetch_columns = false) : self