alonho/pql

Reduce $and to a regular query when possible

alonho opened this issue · 0 comments

{$and: [{a: {$gt: 1}}, {a: {$lt: 2}}]} -> {a: {$gt: 1, $lt: 2}}