Skip to content

Commit a88cfea

Browse files
feat(docs): add a reference to type overriding in datatypes.md (#2557)
1 parent fd108fa commit a88cfea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/datatypes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Datatypes
22

3+
`sqlc` attempts to make reasonable default choices when mapping internal
4+
database types to Go types. Choices for more complex types are described below.
5+
6+
If you're unsatisfied with the default, you can override any type using the
7+
[overrides list](config.html#type-overriding) in your `sqlc` config file.
8+
39
## Arrays
410

511
PostgreSQL [arrays](https://www.postgresql.org/docs/current/arrays.html) are

0 commit comments

Comments
 (0)