-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsqlc.yaml
More file actions
23 lines (22 loc) · 657 Bytes
/
sqlc.yaml
File metadata and controls
23 lines (22 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# filename: sqlc.yaml
version: "2"
sql:
- engine: "postgresql"
queries: "db/queries.sql"
schema: "db/schema.sql"
codegen:
- out: "remindme/db"
plugin: python
options:
package: "remindme.db"
emit_init_file: false
sql_driver: "asyncpg"
model_type: "msgspec"
docstrings: "numpy"
omit_unused_models: true
emit_classes: true
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.4.4/sqlc-gen-better-python.wasm
sha256: b0d544244edd80dfd4c768c23c133ae7e3a00d03978e33efa5ddaa55ea2845e0