We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0c7769 commit a9fb581Copy full SHA for a9fb581
1 file changed
sqlx-core/src/query_as.rs
@@ -94,11 +94,9 @@ where
94
O: 'e,
95
A: 'e,
96
{
97
- // FIXME: this should have used `executor.fetch()` but that's a breaking change
98
- // because this technically allows multiple statements in one query string.
99
- #[allow(deprecated)]
100
- self.fetch_many(executor)
101
- .try_filter_map(|step| async move { Ok(step.right()) })
+ executor
+ .fetch(self.inner)
+ .map(|row| O::from_row(&row?))
102
.boxed()
103
}
104
0 commit comments