snapshot of https://github.com/sqlc-dev/sqlc.git (main, 2026-09-16; blobs > 131072B omitted)
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
This commit is contained in:
11
internal/endtoend/testdata/relation_does_not_exist/postgresql/query.sql
vendored
Normal file
11
internal/endtoend/testdata/relation_does_not_exist/postgresql/query.sql
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
-- 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);
|
||||
0
internal/endtoend/testdata/relation_does_not_exist/postgresql/schema.sql
vendored
Normal file
0
internal/endtoend/testdata/relation_does_not_exist/postgresql/schema.sql
vendored
Normal file
11
internal/endtoend/testdata/relation_does_not_exist/postgresql/sqlc.json
vendored
Normal file
11
internal/endtoend/testdata/relation_does_not_exist/postgresql/sqlc.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"version": "1",
|
||||
"packages": [
|
||||
{
|
||||
"path": "go",
|
||||
"name": "querytest",
|
||||
"schema": "schema.sql",
|
||||
"queries": "query.sql"
|
||||
}
|
||||
]
|
||||
}
|
||||
5
internal/endtoend/testdata/relation_does_not_exist/postgresql/stderr/base.txt
vendored
Normal file
5
internal/endtoend/testdata/relation_does_not_exist/postgresql/stderr/base.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# package querytest
|
||||
query.sql:1:1: relation "nonexisting_relation" does not exist
|
||||
query.sql:5:1: relation "nonexisting_relation" does not exist
|
||||
query.sql:8:1: relation "nonexisting_relation" does not exist
|
||||
query.sql:11:1: relation "nonexisting_relation" does not exist
|
||||
5
internal/endtoend/testdata/relation_does_not_exist/postgresql/stderr/managed-db.txt
vendored
Normal file
5
internal/endtoend/testdata/relation_does_not_exist/postgresql/stderr/managed-db.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# package querytest
|
||||
query.sql:2:15: relation "nonexisting_relation" does not exist
|
||||
query.sql:5:15: relation "nonexisting_relation" does not exist
|
||||
query.sql:8:8: relation "nonexisting_relation" does not exist
|
||||
query.sql:11:13: relation "nonexisting_relation" does not exist
|
||||
Reference in New Issue
Block a user