Comment

Comment by maxxk

Interesting approach. But for me the main disadvantage of SQL code embedded in other language is lack of syntax highlighting/checking.

I've had the best experience with embrace-sql which translates sql-files with magic comment-delimited parametrized queries to python-callable modules: https://pypi.org/project/embrace/

parent maxxk 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton