From 5603ae87c9589551f220882c612b52226d1851ec Mon Sep 17 00:00:00 2001 From: Andrew Benton Date: Tue, 1 Aug 2023 10:07:06 -0400 Subject: [PATCH] feat(docs): add a reference to type overriding in datatypes.md --- docs/reference/datatypes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/datatypes.md b/docs/reference/datatypes.md index 7637bc9d30..fa0809ed7a 100644 --- a/docs/reference/datatypes.md +++ b/docs/reference/datatypes.md @@ -1,5 +1,11 @@ # Datatypes +`sqlc` attempts to make reasonable default choices when mapping internal +database types to Go types. Choices for more complex types are described below. + +If you're unsatisfied with the default, you can override any type using the +[overrides list](config.html#type-overriding) in your `sqlc` config file. + ## Arrays PostgreSQL [arrays](https://www.postgresql.org/docs/current/arrays.html) are