dynamodb get earliest inserted distinct values from a table

前端 未结 1 1298
失恋的感觉
失恋的感觉 2021-01-22 15:27

I am using Amazon Dynamodb but do not have much experience. I have Prices table like this:

Id | InsertionDate | ProductName | ShopName | Price

There can be diffe

相关标签:
1条回答
  • 2021-01-22 16:23

    you cant do it.

    you can query dynamodb only on his indexes (hash-range keys, or global secondary keys.)

    in order to query dynamodb, you need at least to query on your 'hash' key, and you will get ordered results on your range key (if you have range key)

    http://docs.aws.amazon.com/amazondynamodb/latest/gettingstartedguide/Welcome.html

    http://www.allthingsdistributed.com/2013/12/dynamodb-global-secondary-indexes.html

    0 讨论(0)
提交回复
热议问题