Skip to navigation
SQL pretty formatter to get easy and readable SQL code with JavaScript
01.11.22
1. npm install sql-formatter 2. html code: 3. js code: const raw_sql = "SELECT * FROM tbl WHERE foo = ?'"; let f = window.sqlFormatter; let sql = f.format(raw_sql, { language: 'transactsql' })
https://www.npmjs.com/package/sql-formatter
Reply
Anonymous
Information Epoch 1742414375
Think hierarchically.
Home
Notebook
Contact us