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