如何检查 DynamoDb 表中的两个属性(id,mobileNumber)值并检查条件 id 应该存在的位置和 mobileNumber 值不应该存在于单个查询中的 Dynamo Db
问问题
58 次
1 回答
0
您可以使用 ConditionExpression 子句在UpdateItem中执行此操作。在这种情况下,您将使用:
ConditionExpression: {S: "attribute_exists(id) and attribute_not_exists(mobileNumber)"}
于 2018-11-28T15:16:54.583 回答