File tree Expand file tree Collapse file tree 11 files changed +162
-59
lines changed
exec_result/python_postgresql
exec_rows/python_postgresql
inflection_exclude_table_names/python_postgresql
undefined/python_postgresql Expand file tree Collapse file tree 11 files changed +162
-59
lines changed Original file line number Diff line number Diff line change 5
5
"name" : " py" ,
6
6
"wasm" : {
7
7
"url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
- "sha256" : " 428476c7408fd4c032da4ec74e8a7344f4fa75e0f98a5a3302f238283b9b95f2 "
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438 "
9
9
}
10
10
}
11
11
],
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " postgresql/schema.sql" ,
6
15
"queries" : " postgresql/query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " postgresql" ,
11
- "package" : " postgresql" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true ,
14
- "emit_pydantic_models" : true
21
+ "options" : {
22
+ "package" : " postgresql" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true ,
25
+ "emit_pydantic_models" : true
26
+ }
15
27
}
16
- }
28
+ ]
17
29
}
18
30
]
19
31
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " query.sql" ,
6
15
"queries" : " query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " python" ,
11
- "package" : " querytest" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true
21
+ "options" : {
22
+ "package" : " querytest" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true
25
+ }
14
26
}
15
- }
27
+ ]
16
28
}
17
29
]
18
30
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " query.sql" ,
6
15
"queries" : " query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " python" ,
11
- "package" : " querytest" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true
21
+ "options" : {
22
+ "package" : " querytest" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true
25
+ }
14
26
}
15
- }
27
+ ]
16
28
}
17
29
]
18
30
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " query.sql" ,
6
15
"queries" : " query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " python" ,
11
- "package" : " querytest" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true ,
14
- "inflection_exclude_table_names" : [
15
- " my_data" ,
16
- " exclusions"
17
- ]
18
- }
19
- }
21
+ "options" : {
22
+ "package" : " querytest" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true ,
25
+ "inflection_exclude_table_names" : [
26
+ " my_data" ,
27
+ " exclusions"
28
+ ]
29
+ }
30
+ }
31
+ ]
20
32
}
21
33
]
22
34
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " query.sql" ,
6
15
"queries" : " query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " python" ,
11
- "package" : " querytest" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true ,
14
- "query_parameter_limit" : -1
21
+ "options" : {
22
+ "package" : " querytest" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true ,
25
+ "query_parameter_limit" : -1
26
+ }
15
27
}
16
- }
28
+ ]
17
29
}
18
30
]
19
31
}
Original file line number Diff line number Diff line change 1
- error parsing sqlc.json: invalid query parameter limit
1
+ # package py
2
+ error generating code: error generating output: invalid query parameter limit
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " query.sql" ,
6
15
"queries" : " query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " python" ,
11
- "package" : " querytest" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true ,
14
- "query_parameter_limit" : 0
21
+ "options" : {
22
+ "package" : " querytest" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true ,
25
+ "query_parameter_limit" : 0
26
+ }
15
27
}
16
- }
28
+ ]
17
29
}
18
30
]
19
31
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " query.sql" ,
6
15
"queries" : " query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " python" ,
11
- "package" : " querytest" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true ,
14
- "query_parameter_limit" : 2
21
+ "options" : {
22
+ "package" : " querytest" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true ,
25
+ "query_parameter_limit" : 2
26
+ }
15
27
}
16
- }
28
+ ]
17
29
}
18
30
]
19
31
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"version" : " 2" ,
3
+ "plugins" : [
4
+ {
5
+ "name" : " py" ,
6
+ "wasm" : {
7
+ "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8
+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438"
9
+ }
10
+ }
11
+ ],
3
12
"sql" : [
4
13
{
5
14
"schema" : " query.sql" ,
6
15
"queries" : " query.sql" ,
7
16
"engine" : " postgresql" ,
8
- "gen" : {
9
- "python" : {
17
+ "codegen" : [
18
+ {
19
+ "plugin" : " py" ,
10
20
"out" : " python" ,
11
- "package" : " querytest" ,
12
- "emit_sync_querier" : true ,
13
- "emit_async_querier" : true
21
+ "options" : {
22
+ "package" : " querytest" ,
23
+ "emit_sync_querier" : true ,
24
+ "emit_async_querier" : true
25
+ }
14
26
}
15
- }
27
+ ]
16
28
}
17
29
]
18
30
}
You can’t perform that action at this time.
0 commit comments