Skip to content

Stored procedure support in Postgresql #1870

Answered by mhalavanja
mhalavanja asked this question in Q&A
Discussion options

You must be logged in to vote

This is actually what I was looking for https://docs.sqlc.dev/en/stable/howto/named_parameters.html and I will just leave it here if someone will be looking for simmilar question. This works just fine for stored procedures in Postgres:

-- name: TryDeleteGroup :exec
CALL tryDeleteGroup(@group_id::bigint, @user_id::bigint);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mhalavanja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant