Struct ResultRange

An input range of Rows.

This is the entity that is returned by the Command methods execSQLSequence and execPreparedSequence

MySQL result sets can be up to 2^^64 rows. This interface allows for iteration through a result set of that size.

Properties

Name Type Description
colNameIndicies [get] const(ulong[string]) An AA to lookup a column's index by name
colNames [get] const(string)[] Get the names of all the columns
empty [get] bool Make the ResultRange behave as an input range - empty
front [get] inout(Row) Make the ResultRange behave as an input range - front
isValid [get] bool Check whether the range can still we used, or has been invalidated
rowCount [get] ulong Get the number of currently retrieved.

Methods

Name Description
asAA Get the current row as an associative array by column name
close Explicitly clean up the MySQL resources and cancel pending results
opAssign
popFront Make the ResultRange behave as am input range - popFront()

Authors

Copyright

License