-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Repeated sql query with load relations #156
Comments
I found bug in code, wait PR |
I do not know if a bug is being reproduced in lucid 4.0 |
Ill be looking into the issue tonight and will if 4.0 fixes it by default or not |
@thetutlage Any progress? I need this fix. |
@ntvsx193 Sorry for responding late to it, can u reproduce this issue with 4.0?. I tried with 4.0 and all seems to be fine there atleast |
Okay, I'm do it today later |
I tried with route
And catch throw |
Want to try now from github?
|
I'm tried, throw catch again |
Can u make sure that you have the latest from github, since |
I'm tried with droped |
From
|
Ok so #161 issue works fine for me, Lemme reproduce this one too |
Okay another push, wanna try now? 48bdbba |
Yep, it's worked now! :) |
Can u see multiple queries, or is it logging expected number of queries? |
Wait, I'm fine server in debug |
So good, I don't see repeated queries.
|
I'm try add listener |
I'm tried with
|
But in comment on https://github.com/adonisjs/adonis-lucid/blob/develop/src/Database/index.js#L64 u write for support |
I think this issue need close, problem solved. |
I catch this sql when load relations.
Lucid version 3.0.16, driver pg PostgreSQL 9.6
For reproduce this bug see under.
Route & controller
Models
Migrations
The text was updated successfully, but these errors were encountered: