-
Notifications
You must be signed in to change notification settings - Fork 376
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
Why debug info always appears twice for only one sql. #258
Comments
It could be the same issue, but i get the callback fired twice on save. |
I've also seen callbacks [and the save itself] fired twice on models with an association and |
This also fixes when debug is on and no DDL queries are shown
I don't think it's the same issue. Can you please check if the debugs now appear only with "sql/postgres" prefix? If you have more information or an example of a duplicated |
[SQL/postgres] SELECT "id", "id", "name", "lastActive", "createdAt", "updatedAt", "user_id" FROM "Entity" WHERE "id" = 'AE09F657DABF6EA4' LIMIT 1
|
@MrSwitch do you have an open issue about it? (I can't remember) If not please post a quick example so we can fix it if it still happens. This one about debug lines is done |
Using option
{ protocol: 'pg', ..., query: { debug: true }}
when connect to "postgres" database, and execute any involved query operation, the debug info always appears twice with[SQL/postgres]
and[SQL/mysql]
, like this:and the primary key appears twice in SELECT clause also.
The text was updated successfully, but these errors were encountered: