How to use GSI on batchGet? #525
Unanswered
keneth-old-st
asked this question in
Q&A
Replies: 1 comment
-
Use find instead of get. With a GSI you can do a query/scan, but not get. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I am trying to create a batch get query that utilizes GSIs, but when I try to execute it, it gives me an error.
Below is a sample code on how I implemented it, once the
get
method has been called it will give me an errorThe values on the GSIs are simply a concatenated representation of the fields used in the Model
does batchGet only works on the default PK and SK?
Beta Was this translation helpful? Give feedback.
All reactions