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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,8 @@ The `gen` mapping supports the following keys:
135
135
- Output directory for generated code.
136
136
- `sql_package`:
137
137
- Either `pgx/v4`, `pgx/v5` or `database/sql`. Defaults to `database/sql`.
138
+
- `sql_driver`:
139
+
- 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.
138
140
- `emit_db_tags`:
139
141
- If true, add DB tags to generated structs. Defaults to `false`.
0 commit comments