tsk-196: Moving SongQueue struct #240
@@ -81,7 +81,9 @@ pub async fn update(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn get_most_recent_and_update(pool: &sqlx::PgPool) -> Result<dbtype::SongQueue, sqlx::Error> {
|
pub async fn get_most_recent_and_update(
|
||||||
|
pool: &sqlx::PgPool,
|
||||||
|
) -> Result<dbtype::SongQueue, sqlx::Error> {
|
||||||
let result = sqlx::query(
|
let result = sqlx::query(
|
||||||
r#"
|
r#"
|
||||||
UPDATE "songQueue"
|
UPDATE "songQueue"
|
||||||
|
|||||||
Reference in New Issue
Block a user