class Message::Collection

Overview

:doc: Lustra::Model::Collection

This is the object managing a SELECT request. A new collection is created by calling Lustra::Model.query.

Collections are mutable, and refining the SQL mutates the collection. You may want to copy the collection by calling dup

See Lustra::Model::CollectionBase

Defined in:

models/message.cr

Instance Method Summary

Instance Method Detail

def with_user(fetch_columns = false, &block : User::Collection -> ) : self #

def with_user(fetch_columns = false) : self #