-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
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
$or bug #120
Comments
This is probably happening in https://github.com/feathersjs/feathers-knex/blob/master/src/index.js#L90 but I'm not sure how it should be changed. Does order matter? |
According to knexjs docs, the For example:
|
I created a PR for this issue: #122 |
Closed via #122 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using the last version of
feathers-knex
.Here is my
hook.params.query
:And here is how
feathers-knex
transforms it:As you can see, the
or
after thecompany = 1
should be a AND, not a OR.The text was updated successfully, but these errors were encountered: