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'm using a planetscale database, which uses vitess under the hood. it was working fine for a past few days, but when I try to build my code today this...

Assuming it is possible would you be open to adding a feature flag that bypasses the compiler warning [here](https://github.com/launchbadge/sqlx/blob/c931cab95fb8896819002045476c9d7bc6d10415/sqlx-rt/src/lib.rs#L11) so you can import sqlx in a library without dictating the...

Notable differences - Prepared statements are invalid after a `SYNC` (so they can be used but may not be cached). - Apparently does not support the startup parameter `IntervalStyle`. That...

enhancement
db:postgres
db:other

### Environment: - PostgreSQL 14.1 - `sqlx = { version = "0.5", features = [ "runtime-async-std-native-tls", "postgres", "offline", "time" ] }` I don't think this issue is related to OS-specifics,...

db:postgres
macros
macros:null-inference

I want to use `QueryBuilder::push_values` based on `AnyPool`. Based on `SqlitePoolOptions`, the following code using `QueryBuilder::push_values` ​​can be compiled and executed correctly, but only if `SqlitePoolOptions` is replaced with `AnyPoolOptions`,...

In Sqlx 0.6.1, when using macros, I get `error: unsupported type DATE of column` or `error: unsupported type DATETIME of column` for Sqlite DATE and TIME columns. This fails for...

A lot of people will probably agree with me when I say there's room for improvement with how we currently log queries. 1. Logging is very noisy because we always...

proposal

unlock notification was implemented in https://github.com/launchbadge/sqlx/pull/1658 but only when calling `sqlite3_step`. The `BEGIN` statement is executed using `sqlite3_exec` and the unlock notification is not handle there. This means that one...

https://github.com/launchbadge/sqlx/blob/728717f032675a1dbf0fc29246d8c047cbb3933b/sqlx-core/src/postgres/options/mod.rs#L431 Test case: ``` let pg_connect_opts = PgConnectOptions::default() .database(db_name) .options([("default_transaction_isolation", "repeatable read")]); ``` Connecting with these options will given an error that "repeatable" is not a valid isolation level. I...

Given a generic type like `A` before `sqlx` would produce `A::from_row(row)` which is invalid syntax. Now it produces `