如何在 DynamoDB 中添加列 [英] How to Add a Column in DynamoDB
本文介绍了如何在 DynamoDB 中添加列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在亚马逊 AWS 的 DynamoDB 中的现有表中添加新列?
Is there a way to add a new column to existing table in DynamoDB in Amazon's AWS?
谷歌没有帮助,
UpdateTable 查询.aws.amazon.com/cli/latest/reference/dynamodb/update-table.html?highlight=update%20table 没有任何与添加新列相关的信息.
UpdateTable Query in http://docs.aws.amazon.com/cli/latest/reference/dynamodb/update-table.html?highlight=update%20table doesn't have any information related to adding a new column.
推荐答案
DynamoDB 不需要模式定义,因此没有列"之类的东西.您可以添加一个具有新属性的新项目.
DynamoDB does not require schema definition, and so there is no such thing as a "column". You can just add a new item with a new attribute.
这篇关于如何在 DynamoDB 中添加列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文