@@ -24,6 +24,7 @@ type Options struct {
24
24
EmitPointersForNullTypes bool `json:"emit_pointers_for_null_types" yaml:"emit_pointers_for_null_types"`
25
25
EmitEnumValidMethod bool `json:"emit_enum_valid_method,omitempty" yaml:"emit_enum_valid_method"`
26
26
EmitAllEnumValues bool `json:"emit_all_enum_values,omitempty" yaml:"emit_all_enum_values"`
27
+ EmitSqlAsComment bool `json:"emit_sql_as_comment,omitempty" yaml:"emit_sql_as_comment"`
27
28
JsonTagsCaseStyle string `json:"json_tags_case_style,omitempty" yaml:"json_tags_case_style"`
28
29
Package string `json:"package" yaml:"package"`
29
30
Out string `json:"out" yaml:"out"`
@@ -34,11 +35,12 @@ type Options struct {
34
35
OutputBatchFileName string `json:"output_batch_file_name,omitempty" yaml:"output_batch_file_name"`
35
36
OutputDbFileName string `json:"output_db_file_name,omitempty" yaml:"output_db_file_name"`
36
37
OutputModelsFileName string `json:"output_models_file_name,omitempty" yaml:"output_models_file_name"`
37
- OutputQuerierFileName string `json:"output_querier_file_name,omitempty" yaml:"output_queries_file_name "`
38
+ OutputQuerierFileName string `json:"output_querier_file_name,omitempty" yaml:"output_querier_file_name "`
38
39
OutputCopyfromFileName string `json:"output_copyfrom_file_name,omitempty" yaml:"output_copyfrom_file_name"`
39
40
OutputFilesSuffix string `json:"output_files_suffix,omitempty" yaml:"output_files_suffix"`
40
41
InflectionExcludeTableNames []string `json:"inflection_exclude_table_names,omitempty" yaml:"inflection_exclude_table_names"`
41
42
QueryParameterLimit * int32 `json:"query_parameter_limit,omitempty" yaml:"query_parameter_limit"`
43
+ OmitSqlcVersion bool `json:"omit_sqlc_version,omitempty" yaml:"omit_sqlc_version"`
42
44
OmitUnusedStructs bool `json:"omit_unused_structs,omitempty" yaml:"omit_unused_structs"`
43
45
BuildTags string `json:"build_tags,omitempty" yaml:"build_tags"`
44
46
}
0 commit comments