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
Describe the bug When I use the where_raw function and then the where/where_ir function.. it is adding the logical operation 'WHERE' twice in SQL.
To Reproduce
builder.where_raw("`age` = '18'").where("name", "=", "James").to_sql()
SELECT * FROM `users` WHERE `age` = '18' WHERE `users`.`name` = 'James'
Expected behavior
SELECT * FROM `users` WHERE `age` = '18' AND `users`.`name` = 'James'
Desktop (please complete the following information):
What database are you using?
The text was updated successfully, but these errors were encountered:
Ah! This is an easy fix.
Need to add a missing loop_count += 1 on this line!
loop_count += 1
orm/src/masoniteorm/query/grammars/BaseGrammar.py
Line 570 in 0cb558c
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When I use the where_raw function and then the where/where_ir function.. it is adding the logical operation 'WHERE' twice in SQL.
To Reproduce
Expected behavior
Desktop (please complete the following information):
What database are you using?
The text was updated successfully, but these errors were encountered: