-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsqlc.yaml
More file actions
34 lines (33 loc) · 920 Bytes
/
sqlc.yaml
File metadata and controls
34 lines (33 loc) · 920 Bytes
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
version: "2"
plugins:
- name: python
wasm:
url: file://sqlc-gen-better-python.wasm
sha256: ee7bd0c07b784b80ea8c5853d9a6a04c51a7abbfd2663f470e9a5d2f623b967e
sql:
- schema: test/schema.sql
queries: test/queries.sql
engine: postgresql
codegen:
- out: test
plugin: python
options:
package: test
sql_driver: asyncpg
model_type: msgspec
emit_classes: true
omit_unused_models: false
emit_init_file: false
debug: true
docstrings: numpy
overrides:
- db_type: serial
py_type:
import: test
package: test_type
type: test_type.Test
- column: test_inner_postgres_types.bool_test
py_type:
import: test
package: test_type
type: test_type.Test