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.
2 parents df98ebb + add67bf commit ec17275Copy full SHA for ec17275
dump.go
@@ -54,7 +54,7 @@ type metaData struct {
54
55
const (
56
// Version of this plugin for easy reference
57
- Version = "0.6.0"
+ Version = "0.7.0"
58
59
defaultMaxAllowedPacket = 4194304
60
)
@@ -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