Why DynamoDB Query not Returning any Items in Low-Level Client? #6847
Unanswered
waleedshkt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This may sound ridiculous to ask. But on a serious note, I am putting in an item in DynamoDB successfully using
PutItemCommand
. I confirm it by scanning for items in AWS console.But on querying it, the
QueryCommand
is not returning any item (empty array)Primary key is comprised of
_type
partition key anduid
sort key. The sort key is hash (string)Here is my code for querying to get al items with specific partition key:
What is possibly wrong? Is underscore causing any breakage on dynamodb side?
Using
Beta Was this translation helpful? Give feedback.
All reactions