Skip to content
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

Fix overzealous warning on use of whereNot with "in" or "between" #4780

Merged
merged 1 commit into from Oct 31, 2021

Conversation

willheslam
Copy link
Contributor

@willheslam willheslam commented Oct 29, 2021

I ran into this with a whereNot('id', 'in') clause producing a warning despite it only intending to occur when 'in' is an operator, not a value.

Please let me know if the test format isn't right, I'd be happy to change it!

@kibertoad
Copy link
Collaborator

@OlivierCavadenti Could you take a look at this fix?

@OlivierCavadenti OlivierCavadenti merged commit b7d9a5d into knex:master Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants