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
Hi! I trying to create a query that receive as a parameter the schema name for postgres with the syntaxis "schema.table". As an example
SELECT * FROM $1.user;
I dont belive that is a feature in sqlc and must be a lot of extra work for the builder. So maybe there is a way to inject sql that is no documented i will happy to hear.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I trying to create a query that receive as a parameter the schema name for postgres with the syntaxis "schema.table". As an example
SELECT * FROM $1.user;
I dont belive that is a feature in sqlc and must be a lot of extra work for the builder. So maybe there is a way to inject sql that is no documented i will happy to hear.
Beta Was this translation helpful? Give feedback.
All reactions