You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/config.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -173,9 +173,9 @@ The `gen` mapping supports the following keys:
173
173
- `overrides`:
174
174
- It is a collection of definitions that dictates which types are used to map a database types.
175
175
176
-
##### `overrides`
176
+
##### overrides
177
177
178
-
See [Overriding types](../howto/overrides.md) for in-depth guide to using type overrides. Each mapping of the `overrides` collection has the following keys:
178
+
See [Overriding types](../howto/overrides.md) for an in-depth guide to using type overrides. Each mapping of the `overrides` collection has the following keys:
179
179
180
180
- `db_type`:
181
181
- The PostgreSQL or MySQL type to override. Find the full list of supported types in [postgresql_type.go](https://github.com/sqlc-dev/sqlc/blob/main/internal/codegen/golang/postgresql_type.go#L12) or [mysql_type.go](https://github.com/sqlc-dev/sqlc/blob/main/internal/codegen/golang/mysql_type.go#L12). Note that for Postgres you must use the pg_catalog prefixed names where available. Can't be used if the `column` key is defined.
@@ -318,7 +318,7 @@ rules:
318
318
query.cmd == "exec"
319
319
```
320
320
321
-
### global overrides
321
+
### Global overrides
322
322
323
323
Sometimes, the same configuration must be done across various specifications of
324
324
code generation. Then a global definition for type overriding and field
0 commit comments