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 @@ -15,6 +15,7 @@ packages:
15
15
emit_interface : false
16
16
emit_exact_table_names : false
17
17
emit_empty_slices : false
18
+ emit_exported_queries : false
18
19
emit_json_tags : true
19
20
json_tags_case_style : " camel"
20
21
output_db_file_name : " db.go"
@@ -43,6 +44,8 @@ Each package document has the following keys:
43
44
- If true, struct names will mirror table names. Otherwise, sqlc attempts to singularize plural table names. Defaults to `false`.
44
45
- `emit_empty_slices` :
45
46
- If true, slices returned by `:many` queries will be empty instead of `nil`. Defaults to `false`.
47
+ - `emit_exported_queries` :
48
+ - If true, autogenerated SQL statement can be exported to be accessed by another package.
46
49
- `emit_json_tags` :
47
50
- If true, add JSON tags to generated structs. Defaults to `false`.
48
51
- `json_tags_case_style` :
You can’t perform that action at this time.
0 commit comments