We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3894823 commit 79e7a7aCopy full SHA for 79e7a7a
docs/howto/overrides.md
@@ -40,6 +40,9 @@ Each element in the `overrides` list has the following keys:
40
- `go_struct_tag`:
41
- A reflect-style struct tag to use in generated code, e.g. `a:"b" x:"y,z"`.
42
If you want `json` or `db` tags for all fields, use `emit_json_tags` or `emit_db_tags` instead.
43
+- `unsigned`:
44
+ - If `true`, sqlc will apply this override when a numeric db_type is unsigned.
45
+ Note that this has no effect on `column` overrides. Defaults to `false`.
46
- `nullable`:
47
- If `true`, sqlc will apply this override when a column is nullable.
48
Otherwise `sqlc` will apply this override when a column is non-nullable.
0 commit comments