new DynamoDbReadItemStatement()
An abstract base class for ScanStatement and QueryStatement.
Methods
setExclusiveStartKey(lastEvaluatedKey) → {undefined}
Set an exclusive start key that is used for lastEvaluatedKey
parameter.
Parameters:
Name | Type | Description |
---|---|---|
lastEvaluatedKey |
string
|
A lastEvaluatedKey which was returned previous scan or query |
Returns:
- Type:
-
undefined
setLimit(limit) → {undefined}
Set LIMIT clause.
Parameters:
Name | Type | Description |
---|---|---|
limit |
number
|
A limit count to be read |
Returns:
- Type:
-
undefined
setProjectionExpression(projexpr) → {undefined}
Set ProjectionExpression.
Parameters:
Name | Type | Description |
---|---|---|
projexpr |
string
|
Comma separated attribute names to be selected |
Returns:
- Type:
-
undefined