sqlx icon indicating copy to clipboard operation
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.

Results 570 sqlx issues
Sort by recently updated
recently updated
newest added

### Bug Description I have this function in my code: ```rs pub async fn fetch_post(&self, id: Option) -> Option { let query = match id { Some(id) => sqlx::query("SELECT id,...

bug

### I have found these related issues/pull requests NO. ### Description https://github.com/launchbadge/sqlx/blob/bab1b022bd56a64f9a08b46b36b97c5cff19d77e/sqlx-core/src/transaction.rs#L105-L113 Although we have a `Rollback` defuse inside `TransactionManager::begin` e.g. for PG implementation, if the (future) drop happens between...

bug

fixes #3100 Implements `Decode`, `Encode` and `Type` for `Box`, `Arc`, `Cow

breaking

### I have found these related issues/pull requests not found ### Description Could you investigate whether there were any changes in the MySQL driver or connection handling logic between versions...

bug
db:mysql
bug:db
db:third-party-compat

@abonander and I have been discussing the benefits of providing a more Python style of SQL placeholders for parameters In Python database connectors, it looks like this: ```python conn.execute("SELECT %(name)s",...

enhancement
proposal

### Bug Description I have a table containing composite type that contains varchar(256). The table also contains other top-level fields, among whose there are the varchars are as well. I...

bug

### I have found these related issues/pull requests I've found a list of open and closed issues related to fixtures in `#[sqlx::test]` but I don't see anything about a feature...

enhancement

This bumps the underlying version of windows-sys used by this crate. I've only compile tested this by crosscompiling from Linux. ### Does your PR solve an issue? No ### Is...

breaking:MSRV

From [Rustls 0.23.24 release](https://github.com/rustls/rustls/releases/tag/v%2F0.23.24): > New feature: More detailed and helpful error reporting for common certificate errors, such as name mismatches and certificate expiry. Users who std::fmt::Display the rustls Error...

This PR adds a `Decode` impl for `Box`. This allows keeping structs that implement FromRow lifetime-free, previously you had to use `&'a JsonRawValue`. ```rust struct Foo { bar: Box, }...