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

### Does your PR solve an issue? Fixes #3513,#3315,#3132,#2848 Ive read through the issues and I think this is the solution like proposed in #2848. However I don't think this...

Hi, I updated docs to state that structs representing composite types must have their fields in the same order as the composite type as otherwise binding the composite will fail...

### Bug Description `sqlx::query_file!("src/queries/leaderboard.sql")` this has error: ```sh unsupported type NULL of column #1 ("user") ``` the leaderboard.sql in question is: ```sql select `user`, count( distinct date(`joined`, '+09:00') ) as...

bug

```rust struct Query { fn bind_as(name: &'static str, value: T) -> Self; } ``` ```rust query!("SELECT ?name", name = 320); ```

db:mysql
db:sqlite
proposal

Unless I'm mistaken, it isn't documented that migration files must be named `N_X.sql`, where `N` is a number greater than 0, and `X` is the name of the migration.

### Bug Description When there's a `WHERE` condition in a left join query, non-null columns from the right table is always marked as non-nullable (in left joins, they should always...

bug

This allows the migrator methods to be chained.

breaking

### Bug Description When doing a left join, sqlx infers a column as non-nullable vs an option. ### Minimal Reproduction ```rust #[derive(Clone)] pub struct PlantWithUserDetails { pub id: Uuid, pub...

bug

### Bug Description When i get decimal column value from postgres by Any driver, the library panic : Any driver does not support the Postgres type PgTypeInfo(Numeric) the samilar error...

bug

### Bug Description When a user lets call them `roster` applies a migration that creates a schema equal to the username, `roster`, _only_ the first migration will be applied correctly....

bug
db:postgres
migrations