How to implement a certain query in dynamodb? -


i wanted run query, "find me item smallest 'id' larger number" ? possible in dynamodb ? , how ? in advance.

as know, dynamodb table can have 2 types of keys: hash keys, or hash+range keys when run query, need specify hash key item looking for. if table has key of type hash+range, automatically results range attribute sorted. query request can optionally add keycondition on range attribute can require larger number. so, yes, looking possible, assuming design table appropriately.

for more info, check out following links: http://docs.aws.amazon.com/amazondynamodb/latest/apireference/api_query.html http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/queryandscan.html


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -