I'm looking to request my DynamoDB table using to secondary-index I've made in my query.
As of now for a single secondary-index I'm doing :
response = dynamodb.Table('TABLE').query(
IndexName='permaname-index',
KeyConditionExpression=Key('permaname').eq(permaname)
)
I would build my KeyConditionExpression like this :
KeyConditionExpression=Key('permaname').eq(permaname) & Key('source').eq(source)
I've read again and again this doc but I can not figure out how to do:
and