Skip to content

Commit

Permalink
docs: fix sql_driver config grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
YvanDaSilva committed Sep 6, 2024
1 parent ef26f0d commit ab42ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ The `gen` mapping supports the following keys:
- `sql_package`:
- Either `pgx/v4`, `pgx/v5` or `database/sql`. Defaults to `database/sql`.
- `sql_driver`:
- Either `github.com/jackc/pgx/v4`, `github.com/jackc/pgx/v5`, `github.com/lib/pq` or `github.com/go-sql-driver/mysql`. No defaults, required if query annotation `:copyfrom` is used.
- Either `github.com/jackc/pgx/v4`, `github.com/jackc/pgx/v5`, `github.com/lib/pq` or `github.com/go-sql-driver/mysql`. No defaults. Required if query annotation `:copyfrom` is used.
- `emit_db_tags`:
- If true, add DB tags to generated structs. Defaults to `false`.
- `emit_prepared_queries`:
Expand Down

0 comments on commit ab42ec1

Please # to comment.