File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,7 @@ in the directory where the `sqlc` command is run.
286
286
"name" : " db" ,
287
287
"emit_json_tags" : true ,
288
288
"emit_prepared_queries" : false ,
289
+ "emit_interface" : true ,
289
290
"path" : " internal/db" ,
290
291
"queries" : " ./sql/query/" ,
291
292
"schema" : " ./sql/schema/"
@@ -301,6 +302,8 @@ Each package document has the following keys:
301
302
- If true, add JSON tags to generated structs. Defaults to ` false ` .
302
303
- ` emit_prepared_queries ` :
303
304
- If true, include support for prepared queries. Defaults to ` false ` .
305
+ - ` emit_interface ` :
306
+ - If true, output a ` Querier ` interface in the generated package. Defaults to ` false ` .
304
307
- ` path ` :
305
308
- Output directory for generated code
306
309
- ` queries ` :
You can’t perform that action at this time.
0 commit comments