class Backend::Api::Loaders::Student
- Backend::Api::Loaders::Student
- GraphQL::DataLoader::Loader(Int32, Int32, Backend::Db::Student?)
- Reference
- Object
Defined in:
backend/api/loaders/student.crInstance Method Summary
-
#fetch(batch ids : Array(Int32)) : Array(Db::Student | Nil)
The batch loading method.
Instance Method Detail
def fetch(batch ids : Array(Int32)) : Array(Db::Student | Nil)
#
Description copied from class GraphQL::DataLoader::Loader(Int32, Int32, Backend::Db::Student?)
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
.