Skip to content

Commit 12561a7

Browse files
authored
Update README.md
1 parent d907435 commit 12561a7

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

README.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,6 @@ check <https://github.com/swuecho/sqlc-fs/tree/main/testdata> for demo.
1212
go install github.com/swuecho/sqlc-fs@latest
1313
```
1414

15-
```json5
16-
// sqlc.json
17-
{
18-
"version": "2",
19-
"plugins": [
20-
{
21-
"name": "fs",
22-
"process": {
23-
"cmd": "sqlc-fs"
24-
}
25-
}
26-
],
27-
"sql": [
28-
{
29-
"schema": "schema.sql",
30-
"queries": "query/",
31-
"engine": "postgresql",
32-
"codegen": [
33-
{
34-
"out": "gen",
35-
"plugin": "fs"
36-
}
37-
]
38-
}
39-
]
40-
```
41-
42-
for async query:
4315

4416
```json5
4517
// sqlc.json
@@ -63,7 +35,7 @@ for async query:
6335
"out": "gen",
6436
"plugin": "fs",
6537
"options": {
66-
// default value
38+
// options with default value
6739
// "emit_async_code": false,
6840
// "emit_auto_open_model": true,
6941
// "emit_model_file_name": "model_from_schema.fs",

0 commit comments

Comments
 (0)