-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlc.local.yaml
36 lines (36 loc) · 979 Bytes
/
sqlc.local.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
version: "2"
plugins:
- name: csharp
process:
cmd: ./dist/LocalRunner
sql:
- schema: "examples/authors/postgresql/schema.sql"
queries: "examples/authors/postgresql/query.sql"
engine: "postgresql"
codegen:
- plugin: csharp
out: NpgsqlExample
options:
driver: Npgsql
targetFramework: net8.0
generateCsproj: true
- schema: "examples/authors/mysql/schema.sql"
queries: "examples/authors/mysql/query.sql"
engine: "mysql"
codegen:
- plugin: csharp
out: MySqlConnectorExample
options:
driver: MySqlConnector
targetFramework: net8.0
generateCsproj: true
- schema: "examples/authors/sqlite/schema.sql"
queries: "examples/authors/sqlite/query.sql"
engine: "sqlite"
codegen:
- plugin: csharp
out: SqliteExample
options:
driver: Sqlite
targetFramework: net8.0
generateCsproj: true