I know how to delete one entity, but when I try to delete list with entities:
val songs = List(song1, song2)
songsQuery.delete(songs)
I've got this:
Error:(77, 28) Cannot prove that com.logic.domain.entity.Song <:< org.squeryl.KeyedEntity[Iterable[com.logic.domain.entity.Song]].
songsQuery.delete(songs)
^
Where am I wrong?