Constructor
# new Statement(statementopt)
Statement Class
holds all the clauses until they can be processed
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
statement |
ModelArg
|
<optional> |
- Implements:
Extends
- Model
Methods
# execute(args) → {Promise.<V>}
Processes itself
Parameters:
Name | Type | Description |
---|---|---|
args |
Array.<any>
|
- Implements:
Promise.<V>
# hasErrors(exceptions) → {ModelErrorDefinition|undefined}
Parameters:
Name | Type | Description |
---|---|---|
exceptions |
Array
|
ModelErrorDefinition
|
undefined
# abstract paginate(size) → {Promise.<Paginator.<Y, Q>>}
Parameters:
Name | Type | Description |
---|---|---|
size |
number
|
Promise.<Paginator.<Y, Q>>
# raw(rawInput, args) → {Promise.<R>}
Executes a raw instruction in the Database
Parameters:
Name | Type | Description |
---|---|---|
rawInput |
||
args |
- Implements:
Promise.<R>
# setTarget(clazz)
Defines the output class (when existing)
Parameters:
Name | Type | Description |
---|---|---|
clazz |
Constructor
|