mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
fix 'fetch_all' typo
This commit is contained in:
parent
80eb2cc7d2
commit
5865635a80
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ WHERE organization = ?
|
|||
",
|
||||
organization
|
||||
)
|
||||
.fetch_all() // -> Vec<{ country: String, count: i64 }>
|
||||
.fetch_all(&pool) // -> Vec<{ country: String, count: i64 }>
|
||||
.await?;
|
||||
|
||||
// countries[0].country
|
||||
|
|
Loading…
Reference in a new issue