The model that should be instantiated for each row.
Protected
Readonly
ModelThe model that should be instantiated for each row.
Readonly
builderThe builder whose results should be iterated
Readonly
connectionThe connection on which to execute the builder.
Protected
indexThe current index of the iterable.
Get the SQL string for the SELECT query for this iterable.
Return all items resulting from this query.
Chunk the iterable into the given size and call the callback passing the chunk along.
Promise
Create a new iterable based on this query.
Protected
inflateAdvance to the next value of this iterable.
Promise
Protected
processProtected
Eager-load eager-loaded relations for the models in the query result.
Get the results starting at index start
and ending at index end
.
Set the container for this instance.
Implementation of the result iterable that returns query results as instances of the defined model.