I'm using AWS DynamoDB to store users.
Consider the following code:
let params = {
RequestItems: {
'users': {
Keys: [
{id: '1111'},
{id: '2222'},
{id: '3333'},
{id: '4444'},
]
}
}
};
Using the above params in a BatchGet will return the reqeusted users but in a random order!
Question: Is it possible to BatchGet users without losing the order defined in Keys?