【发布时间】:2017-03-02 11:26:44
【问题描述】:
我想根据列 status_code 查询 dynamoDB 表。我使用以下代码获取输出:
params = {
TableName : "Orders_" + environment,
IndexName: "StatusCode-StoreID-index",
KeyConditionExpression: "StatusCode = :status_code",
ExpressionAttributeValues: {
":status_code": "ST01"
},
ScanIndexForward: false,
Limit : ordersPageSize
};
在这里,我将 status_code 作为 ST01 传递。我的问题是关于传递多个值而不是 ST01。 如何获取status_code值为ST01或ST02或ST03的记录?
【问题讨论】:
标签: node.js amazon-dynamodb nosql