You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Via Podcast.init I learned about a tool called SQLFluff, which appears to be kind of like Black/Prettier/etc, but for SQL.
I frequently have trouble formatting SQL in a way that is readable and consistent, so an auto-formatting approach like this seems like it could be useful. Maybe Django SQL Dashboard could optionally support this tool, e.g. by auto-formatting a saved dashboard's SQL query, and/or via some kind of keyboard shortcut or button or somesuch?
Anyways, just a thought!
The text was updated successfully, but these errors were encountered:
Oh interesting - I was thinking about adding the JavaScript formatted used by Datasette - see https://latest.datasette.io/fixtures - but I hadn't seen SQLFluff.
Via Podcast.init I learned about a tool called SQLFluff, which appears to be kind of like Black/Prettier/etc, but for SQL.
I frequently have trouble formatting SQL in a way that is readable and consistent, so an auto-formatting approach like this seems like it could be useful. Maybe Django SQL Dashboard could optionally support this tool, e.g. by auto-formatting a saved dashboard's SQL query, and/or via some kind of keyboard shortcut or button or somesuch?
Anyways, just a thought!
The text was updated successfully, but these errors were encountered: