class Backend::Db::Student::Collection

Overview

:doc: Clear::Model::Collection

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

Collection are mutable and refining the SQL will mutate the collection. You may want to copy the collection by calling dup

See Clear::Model::CollectionBase

Defined in:

backend/db/student.cr

Instance Method Summary

Instance Method Detail

def with_assignment(fetch_columns = false, &block : Assignment::Collection -> ) : self #

def with_assignment(fetch_columns = false) : self #

def with_class_model(fetch_columns = false, &block : Class::Collection -> ) : self #

def with_class_model(fetch_columns = false) : self #

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

def with_user(fetch_columns = false) : self #

def with_vote(fetch_columns = false, &block : Vote::Collection -> ) : self #

def with_vote(fetch_columns = false) : self #