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 For all my sqlx queries, I am getting `error communicating with database: Broken pipe (os error 32)` error and the query gets highlighted in red. However, the...

bug

### Does your PR solve an issue? Fixes #3549

``` error: unsupported type INTERVAL[] of column #2 ("event_offsets") ``` Hello, I'm querying array of intervals, but sqlx give that error. That PR fixes it

Hello! I wanted to support batch processing of notifications when there is a lot of them, so it made sense to grab whatever notifications might be readily available. `try_next()` is...

BREAK CHANGE: [`sqlx_core::net::socket::connect_tcp`]. New parameter added. Add TCP keepalive configuration which could be enabled by [`PgConnectOptions::tcp_keep_alive`] and [`MySqlConnectOptions::tcp_keep_alive`]. ### Does your PR solve an issue? fixes #3540

Allows the user to see and maybe modify the connect options before each attempt to connect to a database. May be used in a number of ways, e.g.: - adding...

### Bug Description The add function returns a BoxDynError which means all functions that return a `sqlx::Error` type will need to `map_err` to a type that does not make sense....

bug

Hi, As far as we can go we succeeded to mock everything but the Transaction. Instead of passing the pool we used a top wrapper containing all struct using a...

**Is your feature request related to a problem? Please describe.** We've observed some issues where our application hangs, though it's not necessarily certain that TCP keepalive would have prevented them....

enhancement