Replies: 3 comments 3 replies
-
Hi @CircuitCM , thanks for the suggestion! Yeah, I think it will be great to provide async API in connectorx. We will look into this, and you are also very welcome to contribute if you want. |
Beta Was this translation helpful? Give feedback.
-
Following up on this feature, it's very minimal to wrap in a thread executor and probably doesn't need to go in the main library. Almost no noticeable overhead from the OS thread.
|
Beta Was this translation helpful? Give feedback.
-
Would you be able to provide a sans-IO API instead? Kind of how asyncpg uses the pgproto under the hood. It would be great to have a library that knows how to efficiently convert the data but doesn’t force any IO or execution model. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Would be very interested in a wrapper function to enable async queries, as this is a high performance library it seems fitting. My own use case is Postgresql with asyncpg, and while that library is great I use Dataframes a lot. The best way to get a Dataframe is to convert asyncpg's list of tuples to them, as far as I know. I assume connector-x would be quicker.
Beta Was this translation helpful? Give feedback.
All reactions