如何批量更新DDB中现有的items?

0

【以下的问题经过翻译处理】 你好,

DDB中有BatchGetItem()和BatchWriteItem()函数, 但是无法批量更新现有Items,

参考链接:

是否有函数或者其他方法可以批量更新现有Items?

profile picture
EXPERT
asked 9 months ago28 views
1 Answer
0

【以下的回答经过翻译处理】 你可以通过DynamoDB PartiQL来完成批量更新操作, BatchExecuteStatement API 操作最多允许读取 25个项目或写入25 个项目.

参考文档: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchExecuteStatement.html

profile picture
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions