dimanche 12 avril 2015

dynamodb query: Can I use beginswith filter?

I am trying to query a dynamodb table. When I'm using the begins with operator I'm getting the following error.


{u'Message': u'All queries must have a condition on the hash key, and it must be of type EQ', u'__type': u'com.amazon.coral.validate#ValidationException'}



result_set = tb_places.query_2(
place_name__beginswith="ame",
)


Here place_name is a Global Secondary Index





Aucun commentaire:

Enregistrer un commentaire