This is very simple question: Is there a way to delete many Mapper
entries at once given a List of ids? I'd rather not have to do
something like the following if I don't have to:
List(... some ids ...).foreach(id => {
  MyModel.find(By(MyModel.id, id)).map(myModel => {
    myModel.delete_!
  })
})

Of course there's raw SQL but I'm hopping I can avoid it.

Thanks in advance,
Peter Robinett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to