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

Asyncio support #21

Open
sharkguto opened this issue Aug 2, 2018 · 2 comments
Open

Asyncio support #21

sharkguto opened this issue Aug 2, 2018 · 2 comments

Comments

@sharkguto
Copy link

Is there any plan to support asyncio for ctds, like asyncpg?

@joshuahlang
Copy link
Collaborator

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.

@kafran
Copy link

kafran commented Apr 21, 2020

Will this ever be possible?

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

No branches or pull requests

3 participants