We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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))
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?
The text was updated successfully, but these errors were encountered:
Voting for the Operator class based one, easier to code in JS and more portable to Reason
Sorry, something went wrong.
Foo.find({ name: { type: 'NOT', value: { type: 'BETWEEN', start: 2, end: 4 } }, foo: true, })
Foo.find({ name: Not(Between(2, 4)), foo: true, })
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: