Class ModelResultIterable<T>

Implementation of the result iterable that returns query results as instances of the defined model.

Type Parameters

Hierarchy

Constructors

Properties

ModelClass: Instantiable<T>

The model that should be instantiated for each row.

builder: ModelBuilder<T>

The builder whose results should be iterated

connection: Connection

The connection on which to execute the builder.

index: number = 0

The current index of the iterable.

Accessors

Methods