When you try to delete a batch of records, only odd lines are deleted!
val byUser = Orders.createFinderBy(_.userID) byUser(id).mutate(_.delete) 
If I print a record instead, I get the correct number of lines.
 byUser(id).mutate{x => x.echo} 
I worked on a problem like this that generates the desired SQL.
 (for{o <- Orders if o.userID is id.bind } yield o).delete 
But why and how does the mutate version only affect odd lines?
source share