fix serialize bugs

This commit is contained in:
fancl 2024-11-12 17:36:44 +08:00
parent be8b56b897
commit 9dbae23345
1 changed files with 3 additions and 0 deletions

View File

@ -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)
}