Implementing SearchSong using simple SELECTs. The performance hit is not relevant, makes things simpler

This commit is contained in:
Deluan
2020-01-13 10:44:35 -05:00
committed by Deluan Quintão
parent 0629be5800
commit d3af7e689d
4 changed files with 35 additions and 10 deletions
+1
View File
@@ -53,4 +53,5 @@ type MediaFileRepository interface {
GetStarred(options ...QueryOptions) (MediaFiles, error)
PurgeInactive(active MediaFiles) ([]string, error)
GetAllIds() ([]string, error)
Search(q string, offset int, size int) (MediaFiles, error)
}