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 df98ebb commit 85870c6Copy full SHA for 85870c6
dump.go
@@ -403,7 +403,7 @@ func reflectColumnType(tp *sql.ColumnType) reflect.Type {
403
switch tp.DatabaseTypeName() {
404
case "BLOB", "BINARY":
405
return reflect.TypeOf(sql.RawBytes{})
406
- case "VARCHAR", "TEXT", "DECIMAL":
+ case "VARCHAR", "TEXT", "DECIMAL", "JSON":
407
return reflect.TypeOf(sql.NullString{})
408
case "BIGINT", "TINYINT", "INT":
409
return reflect.TypeOf(sql.NullInt64{})
0 commit comments