Open houbaron opened 1 year ago
I use string array to represent array type, like this.
type Row struct { FieldA []string }
But I got unsupported data type: &[]. While it can work.
unsupported data type: &[]
https://gorm.io/docs/models.html
A type can represent ClickHouse Array type.
https://github.com/go-gorm/gorm/blob/master/schema/schema.go#L292 https://github.com/go-gorm/gorm/blob/master/schema/schema.go#L330
Your Question
I use string array to represent array type, like this.
But I got
unsupported data type: &[]
. While it can work.The document you expected this should be explained
https://gorm.io/docs/models.html
Expected answer
A type can represent ClickHouse Array type.