[#854] Allow chaining map and try_map [[@jplatte]]
Additionally enables calling these combinators with the macros:
let ones: Vec<i32> = query!("SELECT 1 as foo")
.map(|row| row.foo)
.fetch_all(&mut conn).await?;
[#940] Rename the #[sqlx(rename)] attribute used to specify the type name on the database
side to #[sqlx(type_name)] [[@jplatte]].
[#976] Rename the DbDone types to DbQueryResult. [[@jplatte]]
[#976] Remove the Done trait. The .rows_affected() method is now available as an inherent
method on PgQueryResult, MySqlQueryResult and so on. [[@jplatte]]
[#1007] Remove any::AnyType (and replace with directly implementing Type<Any>) [[@jplatte]]
Added
[#998] [#821] Add .constraint() to DatabaseError [[@fl9]]
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on sqlx to permit the latest version.
Changelog
Sourced from sqlx's changelog.
... (truncated)
Commits
cbe8207
release: 0.5.1efccd6c
chore: update sqlx-rt to 0.37127357
release(sqlx-rt): 0.38da44b9
cli: update READMEd07ab85
chore: update lockfile94d0bae
release: 0.512246da
chore: update CHANGELOG for 0.52fd26b5
sqlite: remove support for u64a23013e
chore: update lockfilea7eeacb
Rewrap lines in sqlx_macros::derives::{decode, encode}Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)