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 'test@mail.com'
How this can be done?
I try this with boto:
user = users.get_item(email='john.doe@gmail.com')
I get the following error:
'The provided key element does not match the schema'