skip to Main Content

how can I query off a AWS dynamodb table with a secondary index – Amazon Web Sevices

I have a dynamodb table, that is formatted as such: UDID Key LastAccess primary data secondaryIndex I know that I can write a query such as: dynamodb.query({TableName: 'devices', IndexName: 'LastAccess-index', KeyConditionExpression: 'lastAccess=:d', ExpressionAttributeValues:{":d":{"S":`"${lastweek}"`}}, "ScanForwardIndex:false, "Limit":1}) This does work, however, what…

VIEW QUESTION
Back To Top
Search