-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathsqlc.json
More file actions
79 lines (79 loc) · 1.86 KB
/
sqlc.json
File metadata and controls
79 lines (79 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"version": "2",
"plugins": [
{
"name": "py",
"wasm": {
"url": "https://downloads.sqlc.dev/plugin/sqlc-gen-python_1.1.0.wasm",
"sha256": "ef58f143a8c116781091441770c7166caaf361dd645f62b8f05f462e9f95c3b2"
}
}
],
"sql": [
{
"schema": "../authors/postgresql/schema.sql",
"queries": "../authors/postgresql/query.sql",
"engine": "postgresql",
"codegen": [
{
"out": "src/authors",
"plugin": "py",
"options": {
"package": "authors",
"emit_sync_querier": true,
"emit_async_querier": true,
"query_parameter_limit": 5
}
}
]
},
{
"schema": "../booktest/postgresql/schema.sql",
"queries": "../booktest/postgresql/query.sql",
"engine": "postgresql",
"codegen": [
{
"out": "src/booktest",
"plugin": "py",
"options": {
"package": "booktest",
"emit_async_querier": true,
"query_parameter_limit": 5
}
}
]
},
{
"schema": "../jets/postgresql/schema.sql",
"queries": "../jets/postgresql/query-building.sql",
"engine": "postgresql",
"codegen": [
{
"out": "src/jets",
"plugin": "py",
"options": {
"package": "jets",
"emit_async_querier": true,
"query_parameter_limit": 5
}
}
]
},
{
"schema": "../ondeck/postgresql/schema",
"queries": "../ondeck/postgresql/query",
"engine": "postgresql",
"codegen": [
{
"out": "src/ondeck",
"plugin": "py",
"options": {
"package": "ondeck",
"emit_async_querier": true,
"query_parameter_limit": 5
}
}
]
}
]
}