pyodbc
pyodbc copied to clipboard
Python ODBC bridge
It's not much, but I guess it could prevent a few minutes of googling.
### Environment To diagnose, we usually need to know the following, including version numbers. On Windows, be sure to specify 32-bit Python or 64-bit: - Python: 3.9.7 - pyodbc: 4.0.34...
I noticed a few things that can be impoved upon on the C header files: - the STRINGIFY macro can be replaced with the ``Py_STRINGIFY`` macro which does the exact...
Found this useful when debugging a handling `SQLFreeStmt` command on my driver (netsuite).
makes debugging quite a bit easier.
Rebased against master. This is the PR to allow numpy arrays.
### Issue setup.py attempts to run `odbc_config` in the user's shell via `os.popen()`: https://github.com/mkleehammer/pyodbc/blob/7b4e27781c7f1b75995ecca73d3018c929f4adef/setup.py#L204 It then calls `readlines()` and assumes there will be at least 2 values to unpack and...
In this PR, we a `.fetchdictarray()` method to the `pyodbc.Cursor` object. This adds numpy as an *optional* build and runtime dependency. Only when numpy is available at build time, is...
create tests for as many of the below dbs as possible - [ ] infromix - [ ] spark - [ ] azure sql - [ ] sqlite - [...
Fixes #1213