Variables

read onlylength:Int

Get amount of rows left in this set. Depending on a database management system accessing this field may cause all rows to be fetched internally. However, it does not affect next calls.

read onlynfields:Int

Amount of columns in a row. Depending on a database management system may return 0 if the query did not match any rows.

Methods

getFieldsNames():Null<Array<String>>

Get the list of column names. Depending on a database management system may return null if there's no more rows to fetch.

getFloatResult(n:Int):Float

Get the value of n-th column of the current row as a float value.

getIntResult(n:Int):Int

Get the value of n-th column of the current row as an integer value.

getResult(n:Int):String

Get the value of n-th column of the current row. Throws an exception if the re

hasNext():Bool

Tells whether there is a row to be fetched.

next():Dynamic

Fetch next row.

results():List<Dynamic>

Fetch all the rows not fetched yet.