Module: RowResult

Relational table API for retrieving data.
Source:

Methods

fetchAll() → {Array.<Array>}

Consume the current result-set from memory (and flush it).
Source:
Returns:
A list of rows.
Type
Array.<Array>

fetchAll() → {Array.<Object>}

Consume the current result-set from memory (and flush it).
Source:
Returns:
A list of documents.
Type
Array.<Object>

fetchOne() → {Object}

Consume a single result-set document from memory (and flush it).
Source:
Returns:
A document.
Type
Object

fetchOne() → {Array}

Consume a single result-set row from memory (and flush it).
Source:
Returns:
A row.
Type
Array

getColumns() → {Array.<module:Column>}

Retrieve the list of columns that are part of the result-set.
Source:
Returns:
A list of columns.
Type
Array.<module:Column>

getResults() → {Array.<Array.<Array>>}

Retrieve the entire result-set (without flushing).
Source:
Returns:
Type
Array.<Array.<Array>>

nextResult() → {boolean}

Move to the next available result-set.
Source:
Returns:
Type
boolean