如何在DynamoDB中添加列 [英] How to Add a Column in DynamoDB
本文介绍了如何在DynamoDB中添加列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在Amazon AWS的DynamoDB中向现有表添加新列?
Is there a way to add a new column to existing table in DynamoDB in Amazon's AWS?
Google没有帮助,
Google didn't help,
http://docs.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屋!
查看全文