mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-27 13:46:32 +00:00
groundwork for 0.9.0-alpha.1 (#3821)
* chore: bump version to `0.9.0-alpha.1` * chore: delete unused `sqlx-bench` package * chore: set `rust-version` to 1.85 for all crates * fix: lots of new Clippy warnings * fix: lots more Clippy warnings * fix(cli): add `_sqlite` feature * fix: lots, *lots* more Clippy warnings * fix(core): warning in `tls_rustls` * breaking: delete runtime+TLS combination features * chore: don't re-export unstable `TransactionManager` trait * chore: 0.9.0-alplha.1 CHANGELOG * chore: increase MSRV further to 1.86 * fix: more clippy warnings
This commit is contained in:
@@ -55,7 +55,7 @@ fn test_build() {
|
||||
let query = qb.build();
|
||||
|
||||
assert_eq!(query.sql(), "SELECT * FROM users WHERE id = $1");
|
||||
assert_eq!(Execute::persistent(&query), true);
|
||||
assert!(Execute::persistent(&query));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -158,7 +158,7 @@ async fn it_gets_comments(pool: PgPool) -> sqlx::Result<()> {
|
||||
let post_1_comments: Vec<String> = sqlx::query_scalar(
|
||||
"SELECT content FROM comment WHERE post_id = $1::uuid ORDER BY created_at",
|
||||
)
|
||||
.bind(&"252c1d98-a9b0-4f18-8298-e59058bdfe16")
|
||||
.bind("252c1d98-a9b0-4f18-8298-e59058bdfe16")
|
||||
.fetch_all(&pool)
|
||||
.await?;
|
||||
|
||||
@@ -170,7 +170,7 @@ async fn it_gets_comments(pool: PgPool) -> sqlx::Result<()> {
|
||||
let post_2_comments: Vec<String> = sqlx::query_scalar(
|
||||
"SELECT content FROM comment WHERE post_id = $1::uuid ORDER BY created_at",
|
||||
)
|
||||
.bind(&"844265f7-2472-4689-9a2e-b21f40dbf401")
|
||||
.bind("844265f7-2472-4689-9a2e-b21f40dbf401")
|
||||
.fetch_all(&pool)
|
||||
.await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user