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.
**Is your feature request related to a problem? Please describe.** I try to change the [Sqlite Run-Time Limit ](https://www.sqlite.org/c3ref/c_limit_attached.html), but found no way to do it in sqlx. **Describe the...
### Does your PR solve an issue? As discussed in https://github.com/launchbadge/sqlx/issues/3471, I have added a field to the form. I have also migrated to using issue-forms as they are a...
**Is your feature request related to a problem? Please describe.** Currently, SQL query strings can not be auto-formatted. **Describe the solution you'd like** Add an auto-format command to the CLI....
Linting queries would be a great feature for ensuring quality of queries (for example, discouraging equality check with null). Creating a general linter would be a very tall order. There...
As in https://docs.rs/sqlx/0.8.2/sqlx/postgres/types/index.html for `chrono` and `time`, being integrated with [`jiff`](https://github.com/BurntSushi/jiff). Since the abstractions are similar, it should be viable. cc @BurntSushi I may take a closer look later but...
This way, if the `acquire()` call is cancelled or times out, the connection can still go through. The connection task should have its own separate timeout, possibly surfaced as `PoolOptions::connect_timeout()`....
**Is your feature request related to a problem? Please describe.** From documentation: > `#[sqlx::test]` does not recognize any of the control arguments supported by `#[tokio::test]` as that would have complicated...
Submitting this PR to see if there is any interest in something like this 🙂 Obviously it's maybe not ideal to have to import a trait to be able to...
This is by design I guess, but the APIs for getting the type info from the column and the value in SQLite could be better. An example, if querying a...
Hi all, my use case is using the query! macro to extract both the column names and the row information such that when a column name or alias changes, I...