Methods
# and(condition) → {Condition.<M>}
Joins 2 Condition
s on an Operator#AND
operation
Parameters:
Name | Type | Description |
---|---|---|
condition |
Condition
|
Condition.<M>
# hasErrors(exceptions) → {ModelErrorDefinition|undefined}
Parameters:
Name | Type | Description |
---|---|---|
exceptions |
Array
|
ModelErrorDefinition
|
undefined
# not(val) → {Condition.<M>}
excludes a valut from the result
Parameters:
Name | Type | Description |
---|---|---|
val |
Condition.<M>
# or(condition) → {Condition.<M>}
Joins 2 Condition
s on an Operator#OR
operation
Parameters:
Name | Type | Description |
---|---|---|
condition |
Condition
|
Condition.<M>
# static and(condition1, condition2) → {Condition.<M>}
Joins 2 Condition
s on an Operator#AND
operation
Parameters:
Condition.<M>
# static group(condition1, operator, condition2)
Groups 2 Condition
s by the specified GroupOperator