Constructor
new FieldRange(fieldName, startValue, startIsInclusive, endValue, endIsInclusive) → {FieldRange}
FieldRange defines a range of values to be used in a table or index
iteration or multiGet operation. A FieldRange is used as the least
significant component in a partially specified PrimaryKey or IndexKey in
order to create a value range for an operation that returns multiple rows or
keys. The data types supported by FieldRange are limited to those which are
valid for primary keys and/or index keys.
Parameters:
Name |
Type |
Description |
fieldName |
|
|
startValue |
|
|
startIsInclusive |
|
|
endValue |
|
|
endIsInclusive |
|
|
Properties:
Name |
Type |
Description |
fieldName |
String
|
The name for the field used in the range. |
startValue |
Object
|
Sets the start value of the range to the
specified value. |
startIsInclusive |
bool
|
Set to true if the range is inclusive of
the value, false if it is exclusive. |
endValue |
Object
|
Sets the end value of the range to the specified
value. |
endIsInclusive |
bool
|
Set to true if the range is inclusive of
the value, false if it is exclusive. |
- Source:
Returns:
-
Type
-
FieldRange