A simple tool to substitute parameters in SQL queries.
- Run the tool
- Enter your SQL query with parameters
- Press enter
- Get your SQL with substituted parameters
UPDATE "users" SET "bounced" = $1, "updated_at" = CURRENT_TIMESTAMP WHERE ("id" = $2 AND "value" = $3 AND "deleted_at" IS NULL) -- PARAMETERS: [0,"7d1024f7-703d-42f7-bd0b-6e168c6cd0e8","my value"]UPDATE "users" SET "bounced" = 0, "updated_at" = CURRENT_TIMESTAMP WHERE ("id" = '7d1024f7-703d-42f7-bd0b-6e168c6cd0e8' AND "value" = 'my value' AND "deleted_at" IS NULL)