alonho/pql

$gt and $lt on shared term

jeremydouglass opened this issue · 0 comments

Is it possible to use pql to generate multiple conditions on the same term? For example:

{'$and': [{'a': {'$gt': 1, '$lt': 10}]}

As opposed to a series of separate conditions:

{'$and': [{'a': {'$gt': 1}}, {'a': {'$lt': 10}]}