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 55 "name" : " py" ,
66 "wasm" : {
77 "url" : " https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" ,
8- "sha256" : " 428476c7408fd4c032da4ec74e8a7344f4fa75e0f98a5a3302f238283b9b95f2 "
8+ "sha256" : " 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438 "
99 }
1010 }
1111 ],
Original file line number Diff line number Diff line change 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " postgresql/schema.sql" ,
615 "queries" : " postgresql/query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ }
1527 }
16- }
28+ ]
1729 }
1830 ]
1931}
Original file line number Diff line number Diff line change 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " query.sql" ,
615 "queries" : " query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ }
1426 }
15- }
27+ ]
1628 }
1729 ]
1830}
Original file line number Diff line number Diff line change 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " query.sql" ,
615 "queries" : " query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ }
1426 }
15- }
27+ ]
1628 }
1729 ]
1830}
Original file line number Diff line number Diff line change 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " query.sql" ,
615 "queries" : " query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ ]
2032 }
2133 ]
2234}
Original file line number Diff line number Diff line change 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " query.sql" ,
615 "queries" : " query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ }
1527 }
16- }
28+ ]
1729 }
1830 ]
1931}
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 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " query.sql" ,
615 "queries" : " query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ }
1527 }
16- }
28+ ]
1729 }
1830 ]
1931}
Original file line number Diff line number Diff line change 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " query.sql" ,
615 "queries" : " query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ }
1527 }
16- }
28+ ]
1729 }
1830 ]
1931}
Original file line number Diff line number Diff line change 11{
22 "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+ ],
312 "sql" : [
413 {
514 "schema" : " query.sql" ,
615 "queries" : " query.sql" ,
716 "engine" : " postgresql" ,
8- "gen" : {
9- "python" : {
17+ "codegen" : [
18+ {
19+ "plugin" : " py" ,
1020 "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+ }
1426 }
15- }
27+ ]
1628 }
1729 ]
1830}
You can’t perform that action at this time.
0 commit comments