class Backend::Api::Loaders::TeacherVote

Defined in:

backend/api/loaders/teacher_vote.cr

Instance Method Summary

Instance Method Detail

def fetch(batch ids : Array(Int32)) : Array(Db::TeacherVote | Nil) #
Description copied from class GraphQL::DataLoader::Loader(Int32, Int32, Backend::Db::TeacherVote?)

The batch loading method. Gets called with all objects that have been passed to #load in the current batch. A batch is fetched after 1 microsecond since the first call to #load.