Module: TableUpdate

TableUpdate factory.
Mixes In:
Source:

Methods

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

Execute update query.
Source:
Returns:
Type
Promise.<module:Result>

getClassName() → {string}

Retrieve the class name (to avoid duck typing).
Source:
Returns:
The "class" name.
Type
string

set(field, expr) → {module:TableUpdate}

Add a field to be updated with a new value.
Parameters:
Name Type Description
field string field name
expr string value expression
Source:
Returns:
The query instance.
Type
module:TableUpdate