diff --git a/docs/howto/generate.md b/docs/howto/generate.md index 288fb1a7d4..7b7dbe649f 100644 --- a/docs/howto/generate.md +++ b/docs/howto/generate.md @@ -36,7 +36,7 @@ an up-to-date schema. Here's a minimal working configuration: version: "2" servers: - engine: postgresql - uri: "postgres://locahost:5432/postgres?sslmode=disable" + uri: "postgres://localhost:5432/postgres?sslmode=disable" sql: - engine: "postgresql" queries: "query.sql" diff --git a/docs/reference/datatypes.md b/docs/reference/datatypes.md index 651e1c0d37..6a7dd3b7ac 100644 --- a/docs/reference/datatypes.md +++ b/docs/reference/datatypes.md @@ -207,7 +207,7 @@ pgx supports any type whose underlying type is `[16]byte`, and as of Go 1.27 bound via `driver.DefaultParameterConverter` and results are scanned into `uuid.UUID` and `*uuid.UUID` destinations, with `nil` representing `NULL`. -For MySQL, there is no native `uuid` data type. When using `UUID_TO_BIN` to store a `UUID()`, the underlying field type is `BINARY(16)` which by default sqlc would map to `sql.NullString`. To have sqlc automatically convert these fields to a `uuid.UUID` type, use an overide on the column storing the `uuid` +For MySQL, there is no native `uuid` data type. When using `UUID_TO_BIN` to store a `UUID()`, the underlying field type is `BINARY(16)` which by default sqlc would map to `sql.NullString`. To have sqlc automatically convert these fields to a `uuid.UUID` type, use an override on the column storing the `uuid` (see [Overriding types](../howto/overrides.md) for details). ```json