diff --git a/entry/cli/serialize.go b/entry/cli/serialize.go index 32533bf..550013e 100644 --- a/entry/cli/serialize.go +++ b/entry/cli/serialize.go @@ -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) }