heroku / heroku-pg-extras

A heroku plugin for awesome pg:* commands that are also great and fun and super.
MIT License
1.33k stars 102 forks source link

Display parameters in query instead of $1 #176

Open robinsingh-bw opened 4 years ago

robinsingh-bw commented 4 years ago

Hey,

It would be nice if the queries being shown could also show the parameters, this helps in debugging. I am seeing output such as:

UPDATE "posts" SET "notify" = NULL WHERE "posts"."user_id" = $1

But without the user_id its impossible to debug it.

Thanks