-
Notifications
You must be signed in to change notification settings - Fork 565
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
Expose sql_type information about columns in resultset #167
Comments
Same here. https://github.com/mkleehammer/pyodbc/wiki/Cursor#description docs suggests that it returns just that:
but instead it returns Python type that values will be mapped to (e.g. @mkleehammer is there a way to get original (ODBC-level) type information? |
@findepi |
@jstastny-cz , is it |
@findepi I exposed the information in an additional field 'coldescription': and the PR is already in place (it never got into the project, as it is not project's priority I am afraid): |
Expose sql_type for columns in resultset mkleehammer#167
I am looking for an extension of metadata returned through Cursor.
For every column in a result set I'd like to be able to get sql_type code of that column.
Together with getTypeInfo method of cursor, user can get further information about the datatype.
The text was updated successfully, but these errors were encountered: