3 Replies
i would like to get the playlist by it's id instead of name, cuz might be 2 playlists with same name :/
but idk how to do it
well, just find out that this doesnt work if the song actually has more than 1 playlist, the link will be always point to the first playlist
any ideas on how to achieve it?
if u need more context let me know or -> https://discord.com/channels/883083792112300104/1188799442686586890
any ideas?
I'm presuming that
'playlists.name'
is referring to the name
property on a relationship named playlists
. So, wouldn't playlists.id
refer to the id
of the playlist? Therefore you could refer to (ie: query) the record that way.thanks hmm ill give it a try