Hacker News new | ask | show | jobs
by PaulJulius 2819 days ago
I was just wishing for a better SQL formatter! I'm wasting too much time pasting queries into a doc just to reformat them.

It would be great if the parser supported question marks as placeholders. The pg_stat_statements table in Postgres saves denormalized queries, replacing the literal values with '?' placeholders (e.g., `SELECT * FROM table_name WHERE id = ?`).