summaryrefslogtreecommitdiff
path: root/src/database/search_results.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/search_results.rs')
-rw-r--r--src/database/search_results.rs15
1 files changed, 0 insertions, 15 deletions
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<Option<Artist>, sqlx::Error>,
- Result<Option<Album>, sqlx::Error>,
- Result<Option<Song>, 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,