update to sqlx 0.8
This commit is contained in:
@ -74,7 +74,7 @@ GROUP BY family.id;"
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn amount_family_members(&self, db: &SqlitePool) -> i32 {
|
||||
pub async fn amount_family_members(&self, db: &SqlitePool) -> i64 {
|
||||
sqlx::query!(
|
||||
"SELECT COUNT(*) as count FROM user WHERE family_id = ?",
|
||||
self.id
|
||||
|
Reference in New Issue
Block a user