File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ packages:
1515 emit_interface : false
1616 emit_exact_table_names : false
1717 emit_empty_slices : false
18+ emit_exported_queries : false
1819 emit_json_tags : true
1920 json_tags_case_style : " camel"
2021 output_db_file_name : " db.go"
@@ -43,6 +44,8 @@ Each package document has the following keys:
4344 - If true, struct names will mirror table names. Otherwise, sqlc attempts to singularize plural table names. Defaults to `false`.
4445- `emit_empty_slices` :
4546 - 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.
4649- `emit_json_tags` :
4750 - If true, add JSON tags to generated structs. Defaults to `false`.
4851- `json_tags_case_style` :
You can’t perform that action at this time.
0 commit comments