No, the delete () function simply accepts the WHERE clause.
$this->delete("idEvent=8");
Unfortunately, the method does not understand a form with two arguments, for example, "Select objects". Therefore, if you want to interpolate variables into it, you must do this in two stages:
$where = $this->getAdapter()->quoteInto("idEvent = ?", 8);
$this->delete($where);
source
share