以编程方式发现AWS DynamoDB表的所有属性吗? [英] Discovering all attributes of a AWS DynamoDB table programmatically?

查看:85
本文介绍了以编程方式发现AWS DynamoDB表的所有属性吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道可以通过全表扫描&检查所有记录是否存在属性。有没有那么痛苦的方法?

I know that this can be done with a full table scan & inspecting all records for the presence of attributes. Is there a less painful way ?

推荐答案

不,没有。这是DynamoDB的权衡之一。

No, there isn't. This is one of the trade-offs of DynamoDB.

如果有办法做到这一点,则存储具有新属性的新项目将不得不更新其他内容。 ,记住了表中存在的所有属性。

If there was a way to do this, then storing a new item with a new attribute would have to update something else, somewhere else, that remembered all of the attributes that were present in the table.

这篇关于以编程方式发现AWS DynamoDB表的所有属性吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆