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
I have a statement with
knex('xxx').leftJoin('abc as a', 'a.field', 0);
And it generate a QUERY of : select * from xxx left join abc as a on a.field = , the 0 is missing. Perhaps you write a code as followering:
QUERY
select * from xxx left join abc as a on a.field =
if (arguments[1]) { }
which should be:
if (typeof arguments[1] === 'undefined') { }
😦
The text was updated successfully, but these errors were encountered:
Check for undefined explicitly. Fixes knex#953.
a866046
Value 0 didn't work as expected with the previous check.
e279d83
4026da3
Merge pull request #958 from harriha/bugfix/allow-zero-in-join-clause
beaccbf
Allow zero in join clause, fixes #953
No branches or pull requests
I have a statement with
And it generate a
QUERY
of :select * from xxx left join abc as a on a.field =
, the 0 is missing. Perhaps you write a code as followering:which should be:
😦
The text was updated successfully, but these errors were encountered: