Skip to content

Commit dab7e0e

Browse files
kyleconroyandrewmbenton
authored andcommitted
docs: Update query_parameter_limit documentation (#2374)
* docs: Update query_parameter_limit documentation * docs: Add space in front of config option
1 parent 0696cb1 commit dab7e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/reference/config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ The `gen` mapping supports the following keys:
126126
- `output_files_suffix`:
127127
- If specified the suffix will be added to the name of the generated files.
128128
- `query_parameter_limit`:
129-
- Positional arguments that will be generated in Go functions (>= `1` or `-1`). To always emit a parameter struct, you would need to set it to `-1`. `0` is invalid. Defaults to `1`.
130-
`rename`:
129+
- The number of positional arguments that will be generated for Go functions. To always emit a parameter struct, set this to `0`. Defaults to `1`.
130+
- `rename`:
131131
- Customize the name of generated struct fields. Explained in detail on the `Renaming fields` section.
132132
- `overrides`:
133133
- It is a collection of definitions that dictates which types are used to map a database types. Explained in detail on the `Type overriding` section.

0 commit comments

Comments
 (0)