RawSQLIterator

Helper struct that makes it possible to foreach over the rawSQL result.

Members

Functions

exec
void exec()

Runs the raw SQL query, discarding results (throwing on error)

opApply
int opApply(int delegate(scope RawRow row) dg)

Starts a new query and iterates all the results on each foreach call.

rowCount
size_t rowCount()

Returns the number of rows, only valid inside the foreach.

Meta