sqlx
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.
I understand that Postgres does not have support for unsigned integers, but I still think that a very strong case could be made for creating support for unsigned integers in...
### I have found these related issues/pull requests Followup to #4054 since I don't have the permission to reopen it. I know that `cargo sqlx prepare --check` exists already, however...
# Motivation In my recent project, I had to organize database migrations by feature or module, using sub-folders under `migrations/`. Until now, `sqlx migrate run` only looked at top-level migration...
### I have found these related issues/pull requests N/A ### Description Currently there is no special error returned that serialization error has occurred. That means that there is no easy,...
### I have found these related issues/pull requests I have not found any similar feature request. ### Description Right now [`Migrator::run`](https://docs.rs/sqlx/latest/sqlx/migrate/struct.Migrator.html#method.run) returns `()`, meaning the only thing you know after...
Loads the the PostgreSQL passfile on `apply_pgpass` and defers querying the password to `get_password` calls. This ensures the correct password is retrieved, even when builder methods are called on `PgConnectOptions`...
### I have found these related issues/pull requests No related issues found. ### Description If the field name + type name is too long, sqlx will truncate the type name....
**Is your feature request related to a problem? Please describe.** I want the default way to work in my project to be with `SQLX_OFFLINE=true` while still having a `DATABASE_URL` set...
### I have found these related issues/pull requests Maybe https://github.com/launchbadge/sqlx/issues/1716 and https://github.com/launchbadge/sqlx/issues/1162 ### Description ``` psql "postgresql://postgres:@:5432/postgres?sslmode=verify-ca&sslrootcert=ca.pem&sslcert=cert.pem&sslkey=key.pem" ``` This works: ``` psql (14.11 (Homebrew), server 17.2) WARNING: psql major version...
**Is your feature request related to a problem? Please describe.** Currently it's not very obvious when/how the serialization and deserialization with serde work and when they do not. To make...