mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
Fix typo: add missing &pool parameter
This commit is contained in:
parent
e44031676f
commit
81ef89401e
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ WHERE organization = ?
|
|||
",
|
||||
organization
|
||||
)
|
||||
.fetch_all() // -> Vec<Country>
|
||||
.fetch_all(&pool) // -> Vec<Country>
|
||||
.await?;
|
||||
|
||||
// countries[0].country
|
||||
|
|
Loading…
Reference in a new issue