When ever a query is executing across a database sequelize is logging to the console like below
Executing (default): SELECT "user_id", "user_email", "id", "email", "start_date", "end_date" FROM "users";
Is there a way that i can edit the word default to my dbname? Like
Executing (dbname): SELECT "user_id", "user_email", "id", "email", "start_date", "end_date" FROM "users";
I have multiple db connections running at same time and i want to see the dbname in the log. Thank you
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment