In one of my python application, I am using boto and I want to query a dynamodb table using range key only. I don\'t want to use scan.
Schema for ratings tab
The behavior you want can be achieved using a global secondary index that uses photo_id as a hash key.
photo_id