Is there a way to get an item depending on a field that is not the hashkey?
Example
My Table Users: id (HashKey), name, email
And I want to retrieve the user having email as '[email protected]'
How this can be done?
I try this with boto:
user = users.get_item(email='[email protected]')
I get the following error:
'The provided key element does not match the schema'