We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c439e7 commit 60e8ff8Copy full SHA for 60e8ff8
internal/codegen/golang/gen.go
@@ -305,6 +305,9 @@ func usesBatch(queries []Query) bool {
305
306
func checkNoTimesForMySQLCopyFrom(queries []Query) error {
307
for _, q := range queries {
308
+ if q.Cmd != metadata.CmdCopyFrom {
309
+ continue
310
+ }
311
for _, f := range q.Arg.CopyFromMySQLFields() {
312
if f.Type == "time.Time" {
313
return fmt.Errorf("values with a timezone are not yet supported")
0 commit comments