
There's a method to delete several records from a table? Something like deleteAll() from CakePHP.
Actually I'm doing
$delete = $db->execute('DELETE FROM foo WHERE bar = %i', $id);
But I don't want to use SQL to do that nor create objets for each record and call ->delete();
Thanks in advanced!