Beispiel #1
0
 /**
  * adds delete query to list of queries to exectue
  * @param string $table
  * @param array $conditions key => value conditions to generate WHERE part of query, imploded with AND
  * @param string $where additional where added to generated WHERE as is
  * @return AbstractMigration
  */
 protected final function delete($table, array $conditions = [], $where = '')
 {
     $this->execute($this->adapter->buildDeleteQuery($table, $conditions, $where));
     return $this;
 }