Constructor
new RangeClauseInTrigger(alias, field, upperLimit, upperIncluded, lowerLimit, lowerIncluded)
Create a range condition.
Properties:
Name | Type | Description |
---|---|---|
alias |
string
|
alias. |
field |
string
|
Field name of comparison. |
upperLimit |
number
|
The upper limit of the range. |
upperIncluded |
boolean
|
Boolean field that indicates if the upper limit is contained in the range, if omitted is considered as "true". |
lowerLimit |
number
|
The lower limit of the range. |
lowerIncluded |
boolean
|
Boolean field that indicates if the lower limit is contained in the range, if omitted is considered as "true". |
Parameters:
Name | Type | Description |
---|---|---|
alias |
string
|
alias. |
field |
string
|
Field name of comparison. |
upperLimit |
number
|
The upper limit of the range. |
upperIncluded |
boolean
|
Boolean field that indicates if the upper limit is contained in the range, if omitted is considered as "true". |
lowerLimit |
number
|
The upper lower of the range. |
lowerIncluded |
boolean
|
Boolean field that indicates if the lower limit is contained in the range, if omitted is considered as "true". |
Methods
(static) greaterThan(alias, field, lowerLimit)
Create a Range instance of the less than.
Parameters:
Name | Type | Description |
---|---|---|
alias |
string
|
alias. |
field |
string
|
Field name of comparison. |
lowerLimit |
number
|
The upper lower of the range. |
(static) greaterThanEquals(alias, field, lowerLimit)
Create a Range instance of the less than or equals.
Parameters:
Name | Type | Description |
---|---|---|
alias |
string
|
alias. |
field |
string
|
Field name of comparison. |
lowerLimit |
number
|
The upper lower of the range. |
(static) lessThan(alias, field, upperLimit)
Create a Range instance of the greater than.
Parameters:
Name | Type | Description |
---|---|---|
alias |
string
|
alias. |
field |
string
|
Field name of comparison. |
upperLimit |
number
|
The upper limit of the range. |
(static) lessThanEquals(alias, field, upperLimit)
Create a Range instance of the greater than or equals.
Parameters:
Name | Type | Description |
---|---|---|
alias |
string
|
alias. |
field |
string
|
Field name of comparison. |
upperLimit |
number
|
The upper limit of the range. |