Can't I compare two different attributes in DynamoDB?

我们两清 提交于 2019-12-24 07:33:36

问题


I'm new to Dynamo Db. And my Application says I need to write a program in which two attributes must be compared by their date values. I used GSI for this but what I found was, using GSI I can query all the attributes but separately. But I have to compare two different attributes by their date values so that I can move forward in my application for further. Thank you :)


回答1:


You can not compare two attributes. DynamoDB conditions are bound to an attribute. You will have to write this condition in application level



来源:https://stackoverflow.com/questions/25993519/cant-i-compare-two-different-attributes-in-dynamodb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!