Dynamodb condition expression with multiple values
I am using the following query expression to get the Campaign for a specific id
DynamoDBQueryExpression<Campaign> expression = new DynamoDBQueryExpression<Campaign>()
.withKeyConditionExpression("#id = :val1")
.withExpressionAttributeNames(expressionAttributeNames)
.withExpressionAttributeValues(expressionAttributeValues);
PaginatedQueryList<Campaign> campaigns = dynamoDBMapper.query(Campaign.class, expression);
Let's say I want to get Campaigns for a list of IDs. So, instead of calling over a request multiple times with different ids, can I just make one call to dynamodb with a list of ids?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: