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
Postgresql has a query type, LOCK TABLE, which is not supported by sqlc: it seems to be silently ignored, no code is generated for it. Of course it's possible to use such a query with a raw pgx call, but it would be neat if sqlc supported it out of the box.
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Activity
kyleconroy commentedon Jun 4, 2022
Today sqlc only supports generating queries for certain subset of query types (SELECT / INSERT / UPDATE / DELETE).
I'd be happy to add support for more queries.
kyleconroy commentedon Jun 4, 2022
Tracking here #1661
[-]support LOCK TABLE queries[/-][+]Support LOCK TABLE queries[/+]