Implementation of the result iterable that returns query results as instances of the defined model.
The current index of the iterable.
Get the SQL string for the SELECT query for this iterable.
Chunk the iterable into the given size and call the callback passing the chunk along.
Get the container for this instance.
Given a query row, create an instance of the configured model class from it.
Instantiate a new injectable using the container.
Advance to the next value of this iterable.
Peek at the next value of the iterable, without advancing.
Eager-load eager-loaded relations for the models in the query result.
Reset the iterable to the first index.
Advance the iterable to the given index.