new DynamoDbDeleteItemStatement(opt)
SQL-ish DeleteItem statement class for AWS DynamoDB.
create DynamoDbDeleteItemStatement.
SQL-ish Syntax:
DELETE FROM <table-name>
[WHERE <key-condition-expression>]
[]
is representing that can be ommited.<table-name>
- DynamoDB table name.<key-condition-expression>
- Primary key conditional expression.
Parameters:
Name | Type | Description |
---|---|---|
opt |
string
|
object
|
SQL-ish DeleteItem statement as string or parameter object for DeleteItem API. |
Methods
getParameter(args) → {object}
Get a parameter as a result of this statement instance. It is available to execute the DynamoDB API.
Parameters:
Name | Type | Description |
---|---|---|
args |
object
|
K-V which is an attribute name to the value. |
Returns:
- Type:
-
object
A parameter for the DynamoDB API.