Beispiel #1
0
 /**
  * @return Condition
  */
 protected function createCondition()
 {
     return $this->database->createCondition();
 }
Beispiel #2
0
 /**
  * @param int $id
  *
  * @throws QueryBuilderException
  */
 public function deleteRow($id)
 {
     $this->database->createQuery()->delete()->from($this->table)->where($this->database->createCondition()->equal($this->getPrimaryKey(), $id))->execute();
 }