Open johanbrandhorst opened 7 years ago
Is this on the roadmap? It appears currently unsupported. It would require implementing the following interfaces on rows:
rows
https://golang.org/pkg/database/sql/driver/#RowsColumnTypeDatabaseTypeName https://golang.org/pkg/database/sql/driver/#RowsColumnTypeLength https://golang.org/pkg/database/sql/driver/#RowsColumnTypeNullable https://golang.org/pkg/database/sql/driver/#RowsColumnTypePrecisionScale https://golang.org/pkg/database/sql/driver/#RowsColumnTypeScanType
That's odd. This code, which uses ScanType works for me already.
ScanType
database/sql returns interface{} as the ScanType by default, so it'll work, but it won't be very good.
database/sql
interface{}
Is this on the roadmap? It appears currently unsupported. It would require implementing the following interfaces on
rows
:https://golang.org/pkg/database/sql/driver/#RowsColumnTypeDatabaseTypeName https://golang.org/pkg/database/sql/driver/#RowsColumnTypeLength https://golang.org/pkg/database/sql/driver/#RowsColumnTypeNullable https://golang.org/pkg/database/sql/driver/#RowsColumnTypePrecisionScale https://golang.org/pkg/database/sql/driver/#RowsColumnTypeScanType