From e3f0f700bf2de3b8e7d7c72893a4d6cb128f000d Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Sun, 26 Jan 2025 00:27:45 +0100 Subject: update --- src/database/search_results.rs | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/database/search_results.rs') diff --git a/src/database/search_results.rs b/src/database/search_results.rs index 1468111..027d160 100644 --- a/src/database/search_results.rs +++ b/src/database/search_results.rs @@ -4,21 +4,6 @@ use crate::database::artist::Artist; use crate::database::album::Album; impl DatabaseWrapper { - pub async fn search_results_by_id( - &self, - id: &str, - ) -> ( - Result, sqlx::Error>, - Result, sqlx::Error>, - Result, sqlx::Error>, - ) { - ( - self.select_artist_by_id(id).await, - self.select_album_by_id(id).await, - self.select_song_by_id(id).await, - ) - } - pub async fn search_results_by_name( &self, name: &str, -- cgit v1.2.3