fix serialize bugs
This commit is contained in:
parent
be8b56b897
commit
9dbae23345
|
@ -200,6 +200,9 @@ func serializeArray(val []any) (buf []byte, err error) {
|
|||
continue
|
||||
}
|
||||
}
|
||||
if !rv.Type().Field(j).IsExported() {
|
||||
continue
|
||||
}
|
||||
indexes = append(indexes, j)
|
||||
row = append(row, columnName)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue