Skip to content

Commit 4c70462

Browse files
committed
Add README
1 parent b3d2c59 commit 4c70462

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Usage
2+
3+
```yaml
4+
version: '2'
5+
plugins:
6+
- name: py
7+
wasm:
8+
url: https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm
9+
sha256: 4fb54ee7d25b4d909b59a8271ebee60ad76ff17b10d61632a5ca5651e4bfe438
10+
sql:
11+
- schema: "schema.sql"
12+
queries: "query.sql"
13+
engine: postgresql
14+
codegen:
15+
- out: src/authors
16+
plugin: py
17+
options:
18+
package: authors
19+
emit_sync_querier: true
20+
emit_async_querier: true
21+
```

0 commit comments

Comments
 (0)