Module: SqlResult

API for raw SQL queries.
Mixes In:

Methods


getAffectedItemsCount()

Retrieve the number of documents affected by the operation.
Returns:
The number of rows.
Type
int64

getAutoIncrementValue()

Retrieve the first AUTO INCREMENT value generated by the statement.
Returns:
The first value.
Type
int64

hasData()

Checks if the result set contains additional data.
Returns:
Type
boolean

toArray()

Returns the entire result set (without flushing) as a JavaScript Arrray.
Returns:
Type
Array