/** * Deletes data from the chosen table. * * @access public * @return int */ public function delete() { $query = $this->getCompiler()->delete(); return $this->connection->queryAndCount($query['sql'], $query['params']); }