sqlx
sqlx copied to clipboard
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
### I have found these related issues/pull requests N/A ### Description Quite often one would re-run a migration being worked on adding a `run -r` would spare time. ### Prefered...
This PR moves all the io in the postgres driver to a background task. This should fix some long standing issues with cancellation safety and unblock/allow features like query pipelining,...
### Context In a personal code base I currently maintain a `Row` implementation called `DebugRow` as a catch-all type for queries so that I can use its `Debug` implementation for...
### Does your PR solve an issue? Not on this repo, but it would solve an issue for the `sqlx-exasol` driver: https://github.com/bobozaur/sqlx-exasol/issues/9. With the changes here, the compile-time macros can...
### Does your PR solve an issue? Yes. This PR resolves a version conflict between `sqlx` and other dependencies (like `rusqlite`) caused by incompatible versions of the `libsqlite3-sys` crate, which...
### I have found these related issues/pull requests Currently, all the `query*` methods take local reference and thus even if we build a Stream with `fetch`, it must be collected...
### Does your PR solve an issue? Not that I could find. Though it addresses a `FIXME` comment in the code. ### Is this a breaking change? It is a...
The thread stack size could be critical on mobile devices. Adding the param `thread_stack_size` could be more flexible, especially for building a mobile application. ### Does your PR solve an...
Made modules `database`, `metadata`, ... publicly available for users that want to include sqlx-cli into their own helper binary or other library. (It's easier to use `migrate::run` directly without building...
fixes issue #3330 by allowing the query checking macros to load SQLite extensions specified in sqlx.toml. Related to that, also allows the CLI to load the SQLite extensions specified in...