mcfunley / pugsql

A HugSQL-inspired database library for Python
https://pugsql.org
Apache License 2.0
673 stars 22 forks source link

include informational comments in queries #17

Open mcfunley opened 5 years ago

mcfunley commented 5 years ago

It'd be nice to include the function names and filenames in the sql queries that wind up getting run, i.e. the database should see something like:

-- pugsql function foobar in file sql/modulename/foobar.sql
select * from foobar limit 5;