Recently, we need to be able to detect which SQL types columns in a query has. Doing so required us to implement the RowsColumnTypeDatabaseTypeName interface. This allows us to call ColumnTypeDatabaseTypeName(i) on a result set to get a string representation of a type so we know if we're dealing with a string, float, boolean, and so on.
The code we've implemented in #171 . I see the same thing is implemented in #114.
I think the users of this repository benefits from implementing more of the standardized database/sql interfaces like this one and #173 .
Hi @alexbrainman ,
Thank you again for a great repository.
We're maintaining a fork over at duneanalytics/odbc.
Recently, we need to be able to detect which SQL types columns in a query has. Doing so required us to implement the RowsColumnTypeDatabaseTypeName interface. This allows us to call
ColumnTypeDatabaseTypeName(i)
on a result set to get a string representation of a type so we know if we're dealing with a string, float, boolean, and so on.The code we've implemented in #171 . I see the same thing is implemented in #114.
I think the users of this repository benefits from implementing more of the standardized
database/sql
interfaces like this one and #173 .Håkon