1 Answer
- Newest
- Most votes
- Most comments
1
AWS AppSync does not support the IN
operator in the keyConditionExpression
for DynamoDB queries, limiting the ability to query based on multiple values directly.
Workarounds include using multiple equality conditions in the keyConditionExpression
, performing filtering in the resolver code, or considering alternative DynamoDB operations like Scan
for more complex filtering needs.
Custom resolvers with AWS Lambda can also be utilized for more intricate logic beyond AppSync's built-in capabilities.
Relevant content
- asked 2 years ago
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
when using equality condidtion in expression getting error as expected JSON but got array