I searched the issue queue and didn't see anything about this.
The docs say less|greater than (or equal) are accomplished with the objects using <, >, >= and <=, something like the following: {'>': 'some-value'}
I'm not sure if this applies to only the mongodb driver, whether the driver is doing something to covert these to waterline-esque objects... but but using $lt, $gt, $lte, $gte appears to work fine there, e.g.: {$gt: 'some-value'}
Is the mongo-style query being supported an oversight / happy accident?
Is one of these formats recommended over the other?
Is one of them deprecated and may not work into the future?
I searched the issue queue and didn't see anything about this.
The docs say less|greater than (or equal) are accomplished with the objects using <, >, >= and <=, something like the following:
{'>': 'some-value'}
I'm not sure if this applies to only the mongodb driver, whether the driver is doing something to covert these to waterline-esque objects... but but using
$lt, $gt, $lte, $gte
appears to work fine there, e.g.:{$gt: 'some-value'}
The docs should answer these questions