/
githubmirror
/
sqlc
Обзор
Документация
Войти
/
githubmirror
/
sqlc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/endtoend/testdata/relation_does_not_exist/postgresql/query.sql
11 строк
318 B
Kyle Conroy
compiler: Return error if relation not found (#1059)
25 июн 2021, 06:07
Не верифицирован
25 июн 2021, 06:07
0707177
Код
Авторство
О чём код?
-- name: MissingSelect :many SELECT * FROM nonexisting_relation WHERE name = 'foo'; -- name: MissingParam :many SELECT * FROM nonexisting_relation WHERE name = $1; -- name: MissingUpdate :exec UPDATE nonexisting_relation SET name = $1; -- name: MisingInsert :exec INSERT INTO nonexisting_relation (id) VALUES ($1);