Using batchWriteItem in dynamodb(在 dynamodb 中使用 batchWriteItem)
问题描述
我的 dynamo db 中有两个表,一个是候选表,另一个是用户表,我想在 dynamo db 中使用 batchWriteItem 以便在表中添加数据.
I have two tables in my dynamo db one is candidate table and the other one is user table I want to use batchWriteItem in dynamo db in order to add the data in the table.
我格式化的查询如下
但是如果我使用dynamodb.batchWriteItem(writes, function(err, regdata) {}
它以错误告终.如何编写正确的查询?我得到的错误是这样的.
Its ending up as error. How can I write the right query? The error I am getting is this.
推荐答案
这是正确的答案有一些类型问题.
This is the right answer there are some type problems.
这篇关于在 dynamodb 中使用 batchWriteItem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!