-
Notifications
You must be signed in to change notification settings - Fork 17
/
sqlc.dev.yaml
72 lines (72 loc) · 1.58 KB
/
sqlc.dev.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "2"
plugins:
- name: ts
wasm:
url: file://plugin.wasm
sql:
- schema: "authors/postgresql/schema.sql"
queries: "authors/postgresql/query.sql"
engine: "postgresql"
codegen:
- plugin: ts
out: node-pg/src/db
options:
runtime: node
driver: pg
- schema: "authors/postgresql/schema.sql"
queries: "authors/postgresql/query.sql"
engine: "postgresql"
codegen:
- plugin: ts
out: bun-pg/src/db
options:
runtime: bun
driver: pg
- schema: "authors/postgresql/schema.sql"
queries: "authors/postgresql/query.sql"
engine: "postgresql"
codegen:
- plugin: ts
out: node-postgres/src/db
options:
runtime: node
driver: postgres
- schema: "authors/postgresql/schema.sql"
queries: "authors/postgresql/query.sql"
engine: "postgresql"
codegen:
- plugin: ts
out: bun-postgres/src/db
options:
runtime: bun
driver: postgres
- schema: "authors/mysql/schema.sql"
queries: "authors/mysql/query.sql"
engine: "mysql"
codegen:
- plugin: ts
out: node-mysql2/src/db
options:
runtime: node
driver: mysql2
mysql2:
big_number_strings: true
support_big_numbers: true
- schema: "authors/mysql/schema.sql"
queries: "authors/mysql/query.sql"
engine: "mysql"
codegen:
- plugin: ts
out: bun-mysql2/src/db
options:
runtime: bun
driver: mysql2
- schema: "authors/sqlite/schema.sql"
queries: "authors/sqlite/query.sql"
engine: "sqlite"
codegen:
- plugin: ts
out: node-better-sqlite3/src/db
options:
runtime: node
driver: better-sqlite3