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
The sql statements would go into a separate sql file. That would help us with syntax highlighting, keeping things more sane, etc.
Have you seen the sqlx::query_file_as! macro? https://github.com/launchbadge/sqlx/tree/main/examples/postgres/files It allows you to keep SQL statements in .sql files. I think it's something to bear in mind as SQL statements get bigger. It's obviously not critical, but I think being able to write SQL in actual .sql files helps keep SQL sane, because then we get things like editor syntax highlighting and linters like https://github.com/sqlfluff/sqlfluff
The sql statements would go into a separate sql file. That would help us with syntax highlighting, keeping things more sane, etc.
Originally posted by @tombh in #33 (comment)
The text was updated successfully, but these errors were encountered: