We can use raw SQL but would be nice something less handful
SELECT * FROM users WHERE id != "bla"
Something like that:
Foo.find({ name: { type: NOT, value: "James" } })
@fakenickels idea:
Foo.find({ name: Not("James") })
Not(Between (2))
A class from Operator, so we can switch on top
So we can have Not, Equal, Between
And in the query builder we detect and add the correspondent query
More ideas?
We can use raw SQL but would be nice something less handful
SELECT * FROM users WHERE id != "bla"Something like that:
Foo.find({ name: { type: NOT, value: "James" } })@fakenickels idea:
Foo.find({ name: Not("James") })Not(Between (2))A class from Operator, so we can switch on top
So we can have Not, Equal, Between
And in the query builder we detect and add the correspondent query
More ideas?