Multiple reads from dynamo in 1 read


I want to read multiple records from dynamodb.
Is this possible or should I loop the dynamo.get function?

That’s what query and scan are for.

There is a getBatch operation in dynamo. Give it a try. It is the efficient approach than iterating get multiple times.

1 Like