/** * @inheritdoc */ public function deleteByFields(array $fields) { $delete = $this->connector->delete()->from($this->tableName); $this->createFilter($delete, $fields); return $delete->executeDml(); }
/** * @param string $key */ public function delete($key) { $this->connector->delete()->from($this->tableName)->byField('ID', $key)->executeDml(); }