Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement RowsColumnTypeDatabaseTypeName #174

Open
hawkaa opened this issue Mar 7, 2022 · 1 comment
Open

Implement RowsColumnTypeDatabaseTypeName #174

hawkaa opened this issue Mar 7, 2022 · 1 comment

Comments

@hawkaa
Copy link

hawkaa commented Mar 7, 2022

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

@alexbrainman
Copy link
Owner

@hawkaa thanks for creating the issue.

Let's continue this conversation on PR #171.

Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants