var (
data [][]sql.NullFloat64
array = pq.Array(pq.GenericArray{A: &data})
)
error: sql: Scan error on column index 1, name "data": unsupported Scan, storing driver.Value type []uint8 into type *interface { Scan(interface {}) error; Value() (driver.Value, error) }
var (
data [][]sql.NullFloat64
array = pq.GenericArray{A: &data}
)
error: sql: Scan error on column index 1, name "data": pq: scanning from multidimensional ARRAY[54614][12] is not implemented
According to this query:
where data is type double precision[][]
I tried with those types without success:
error: sql: Scan error on column index 1, name "data": unsupported Scan, storing driver.Value type []uint8 into type *interface { Scan(interface {}) error; Value() (driver.Value, error) }
error: sql: Scan error on column index 1, name "data": pq: scanning from multidimensional ARRAY[54614][12] is not implemented
...
Do you have any advice ?