File tree Expand file tree Collapse file tree 1 file changed +1
-29
lines changed
Expand file tree Collapse file tree 1 file changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -12,34 +12,6 @@ check <https://github.com/swuecho/sqlc-fs/tree/main/testdata> for demo.
1212go 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",
You can’t perform that action at this time.
0 commit comments