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 |
String
|
The name for the field used in the range. |
startValue |
Object
|
|
startIsInclusive |
bool
|
|
endValue |
Object
|
|
endIsInclusive |
bool
|
|
Properties:
| Name |
Type |
Description |
fieldName |
String
|
The name for the field used in the range. |
startValue |
Object
|
|
startIsInclusive |
bool
|
|
endValue |
Object
|
|
endIsInclusive |
bool
|
|
- Source:
Returns:
-
Type
-
FieldRange