Module: TableSelect

TableSelect factory.
Mixes In:
Source:

Methods

execute(rowcbopt, metacbopt) → {Promise.<module:Result>}

Execute the find query.
Parameters:
Name Type Attributes Description
rowcb module:TableSelect~rowCursor <optional>
metacb module:TableSelect~metadataCursor <optional>
Source:
Returns:
Type
Promise.<module:Result>

getViewDefinition() → {string}

Build a view for the query.
Source:
Returns:
The view SQL string.
Type
string

Type Definitions

metadataCursor(metadata)

Metadata cursor.
Parameters:
Name Type Description
metadata Array.<Object> the list of objects containing metadata details for each column
Source:

rowCursor(items)

Row cursor.
Parameters:
Name Type Description
items Array.<*> the list of column values for the row in the current cursor position
Source: