chore: filter to query

This commit is contained in:
Cory Dransfeldt 2024-10-13 15:20:54 -07:00
parent ed65bb8127
commit ffea333d55
No known key found for this signature in database
22 changed files with 24 additions and 73 deletions

View file

@ -12,7 +12,7 @@ SELECT
'name', a.name_string,
'url', a.slug,
'total_plays', a.total_plays
))
) ORDER BY a.total_plays DESC)
FROM artists a
WHERE a.genres = g.id
) AS artists,