Open sharkguto opened 6 years ago
Not currently. For real support, one would either have to implement the TDS protocol from scratch or use the async APIs in ODBC. I would guess Microsoft's ODBC driver supports the async APIs, though I haven't confirmed that. I would also guess that FreeTDS does not fully support the async ODBC APIs.
As a work-around, one could use an executor to offload the synchronous calls in ctds to a background thread.
Will this ever be possible?
Is there any plan to support asyncio for ctds, like asyncpg?