We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The sqlx dose not support with sync style ? Any sync example code ? Thanks!
The text was updated successfully, but these errors were encountered:
SQLx right now is async-only, if you want to run it in blocking code you need to use something like Runtime::block_on() from Tokio.
In 0.6 we're introducing a blocking API, you can follow #1163 for progress on that release.
Sorry, something went wrong.
It doesn't appear this was done in 0.6 or 0.7, it could probably be achieved using maybe_async
maybe_async
Will this ever be a thing for Sqlx?
No branches or pull requests
The sqlx dose not support with sync style ?
Any sync example code ?
Thanks!
The text was updated successfully, but these errors were encountered: