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
Error running where or find query on User model #234
Comments
Is it just an issue with the logger trying to log something in console and try to build bad formatted string ? |
Same error with any of the fields (not only id):
|
@josephmancuso Some thoughts on this ? Did I misconfigured something or is it a real bug ? I tried to track it down but I did not found the exact line yet |
I guess it's a real bug. I feel like I would have seen it by now though. I'm guessing that error has to do with too many bindings being passed to the connection query method? |
|
I can't reproduce 🤔 |
do you have masonite-orm installed maybe? try |
|
I am trying to maintain/complete the ping crm demo for the inertia adapter and as I am doing every 5/6 days, ORM changed, so I always start by updating to the last orm version and it's not always easy for now lol. |
the full list of requirements of my test project:
|
I am working on a test project using Masonite 3.0, and I installed the latest masonite-orm version from 0.8 branch. Is it the correct way ? |
note to self, just waiting on more info on what
if vars has more bindings than the query has then it should throw that error. So need to make sure that is not the case. If it is the case then it would be an issue with bindings inside the postgresGrammar class |
|
I'm gonna close this bug for now. This was an issue a few releases back. Can reopen if this is still an issue |
On a test project with
masonite-orm v0.8.0b
I got an error running User.find(29) or User.where("id", 29) even if this id exists (with postgres, did not test it with other databases).The text was updated successfully, but these errors were encountered: