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:
61
examples/ondeck/sqlc.json
Normal file
61
examples/ondeck/sqlc.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"version": "1",
|
||||
"cloud": {
|
||||
"project": "01HAQMMECEYQYKFJN8MP16QC41"
|
||||
},
|
||||
"packages": [
|
||||
{
|
||||
"path": "postgresql",
|
||||
"name": "ondeck",
|
||||
"schema": "postgresql/schema",
|
||||
"queries": "postgresql/query",
|
||||
"engine": "postgresql",
|
||||
"sql_package": "database/sql",
|
||||
"database": {
|
||||
"uri": "${VET_TEST_EXAMPLES_POSTGRES_ONDECK}"
|
||||
},
|
||||
"analyzer": {
|
||||
"database": false
|
||||
},
|
||||
"rules": [
|
||||
"sqlc/db-prepare"
|
||||
],
|
||||
"build_tags": "examples",
|
||||
"emit_json_tags": true,
|
||||
"emit_prepared_queries": true,
|
||||
"emit_interface": true
|
||||
},
|
||||
{
|
||||
"path": "mysql",
|
||||
"name": "ondeck",
|
||||
"schema": "mysql/schema",
|
||||
"queries": "mysql/query",
|
||||
"engine": "mysql",
|
||||
"database": {
|
||||
"uri": "${VET_TEST_EXAMPLES_MYSQL_ONDECK}"
|
||||
},
|
||||
"rules": [
|
||||
"sqlc/db-prepare"
|
||||
],
|
||||
"emit_json_tags": true,
|
||||
"emit_prepared_queries": true,
|
||||
"emit_interface": true
|
||||
},
|
||||
{
|
||||
"path": "sqlite",
|
||||
"name": "ondeck",
|
||||
"schema": "sqlite/schema",
|
||||
"queries": "sqlite/query",
|
||||
"engine": "sqlite",
|
||||
"database": {
|
||||
"uri": "file:ondeck?mode=memory&cache=shared"
|
||||
},
|
||||
"rules": [
|
||||
"sqlc/db-prepare"
|
||||
],
|
||||
"emit_json_tags": true,
|
||||
"emit_prepared_queries": true,
|
||||
"emit_interface": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user