You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this is possible to implement without a lot of trouble.
Database drivers that I'm currently using either:
already support async (postgres via tokio-postgres, mysql via mysql-async),
execute the query in the current thread anyway (SQLite and DuckDB).
So I don't think there even is a need for something heavy such as sqlx.
The biggest pain point will be a whole new API, ideally in a separate crate. I think that most of the code can be reused, since it preforms only sync work. The only thing that will need to be rewritten is implementation of the API, namely Connector, Statement, ResultRead and Append.
It looks like right now this crate is synchronous-only. Do you have any interest in expanding to async drivers? E.g. sqlx for postgres?
The text was updated successfully, but these errors were encountered: