Skip to content

Implement RowsColumnTypeDatabaseTypeName #174

@hawkaa

Description

@hawkaa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions