new DynamoDbScanStatement(opt)
SQL-ish Scan statement class for AWS DynamoDB.
create DynamoDbScanStatement.
SQL-ish Syntax:
[SELECT <projection-expression>]
FROM <table-name>
[WHERE <filter-expression>]
[LIMIT <limit>]
[]
is representing that can be ommited.<projection-expression>
- The comma separated attribute names to select.<table-name>
- DynamoDB table name.<filter-expression>
- Filtering conditional expression.<limit>
- The number of items to scan.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
opt |
string
|
object
|
SQL-ish Scan statement as string or parameter object for Scan API. |
Methods
getParameter(args) → {object}
Get parameter to invoke the scan API.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
args |
object
|
key-values for the expression to run the scan. |
Returns:
- Type:
-
object
A parameter for DynamoDB scan API.
parse(sqlish) → {object}
Parse the SQL-ish statement.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
sqlish |
string
|
SQL-ish statement |
Returns:
- Type:
-
object
A parameter for DynamoDB scan API.
setFilterExpression(filterExpr) → {undefined}
Set FilterExpression for scan.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
filterExpr |
string
|
expression |
Returns:
- Type:
-
undefined