Postgres Store Procedure #3160
Replies: 3 comments
-
|
@skedee Did you find the answer? |
Beta Was this translation helpful? Give feedback.
-
|
@skedee I don't think I can answer your question without more information. Can you provide a full example? |
Beta Was this translation helpful? Give feedback.
-
|
@kyleconroy Hi, let me give an example. migration.sql Now in account.sql repo for sqlc: This generates this code- See, the Accounts is of string type instead of a slice of struct. Before using SP, I have tried this in the account.sql as well but it also has the same issue with generated type. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Does sqlc have support to generate code for migrations that contain stored procedures?
Beta Was this translation helpful? Give feedback.
All reactions