edgeflip / faraday

Pythonic modeling framework for DynamoDB
Other
0 stars 0 forks source link

default querying filter #7

Open jesteria opened 10 years ago

jesteria commented 10 years ago

It'd be nice for filtering to default to the __eq operator

s.t. this:

>>> Token.items.query(userid=1)

works just like this:

>>> Token.items.query(userid__eq=1)
[…]

rather than:

>>> Token.items.query(userid=1)
…
UnknownFilterTypeError: Operator 'userid' from 'userid' is not recognized.