/
githubmirror
/
sqlc
Обзор
Документация
Войти
/
githubmirror
/
sqlc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/endtoend/testdata/func_out_param/pgx/schema.sql
14 строк
254 B
Kyle Gray
fix(compiler): Support functions with OUT params (#2865)
17 окт 2023, 20:01
Не верифицирован
17 окт 2023, 20:01
1ac6f19
Код
Авторство
О чём код?
-- Example queries for sqlc CREATE TABLE authors ( id BIGSERIAL PRIMARY KEY, name text NOT NULL, bio text ); CREATE OR REPLACE FUNCTION add_author (name text, bio text, out id int) AS $$ DECLARE BEGIN id = 123; END; $$ LANGUAGE plpgsql;