Open ankit-mandhani opened 6 years ago
How can I perform a Dynamo batch read? I tried creating a query, findAllById(List<String> id), but this always returns an empty response.
findAllById(List<String> id)
Then I created another query, findByIdIn(List<String> id), and it gives the expected result. Is this query performing a Dynamo batch read?
findByIdIn(List<String> id)
I am using the version 4.5.7 of the library
4.5.7
@ankit-mandhani I think findByIdIn(List id) performs a scan on the table. I am looking for a method which will do a query on the table for a given list of ids on a secondary index, instead of doing a scan as the one above does.
How can I perform a Dynamo batch read? I tried creating a query,
findAllById(List<String> id)
, but this always returns an empty response.Then I created another query,
findByIdIn(List<String> id)
, and it gives the expected result. Is this query performing a Dynamo batch read?I am using the version
4.5.7
of the library