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

### I have found these related issues/pull requests Slightly related: in #148 , usage of user-defined types for read access is discussed. The discussion ends on a couple of comments...

bug

### I have found these related issues/pull requests Maybe those 2: Improved detection of nullability for postgres #696 query_as!/query! inference returns nullable entries on join when a bound parameter is...

bug

### Description **Actual Behavior:** The code waits for the duration specified in `.acquire_timeout()` (10 seconds in this example) and then fails with `sqlx::Error::PoolTimedOut`. ``` Attempting to connect... Failed to create...

bug

Instantiate yourself an AnyPool (in my case with a Sqlite connection), ```rust pub async fn init_data_pool() -> Result { Ok(AnyPoolOptions::new() .max_connections(10) .connect("sqlite://dev.sqlite3") .await .map_err(|e| { error!("Encountered error trying to make...

enhancement
macros

### I have found these related issues/pull requests I haven't found similar issues ### Description If a field in the query statement is of `super` data-type an error is reported:...

bug
db:postgres
db:third-party-compat

This PR adds support for nested domain types. When comparing a `PgType` by `Oid` it compares the `Oid` of the base type when it is a domain.

### I have found these related issues/pull requests not ### Description ![Image](https://github.com/user-attachments/assets/77b380f6-710f-4b9d-abcf-1f3a80ba64bb) In my database this table have the column ![Image](https://github.com/user-attachments/assets/2cca98d1-c5d3-48dd-acf0-629ea69c5010) ### Reproduction steps no ### SQLx version 0.8.3 ###...

bug

### Bug Description The `#[sqlx::test]` macro is occasionally failing to connect to the created database. Error: ``` thread 'my_module::test_fn' panicked at 'failed to connect to test database: Database(PgDatabaseError { severity:...

bug

`sqlx migrate revert --help` states `Revert the latest migration with a down file` but its not clear what a "down file" is. It would be helpful to either document the...