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