3 ms·
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 supp
by PaulJulius 8y 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 = ?`).