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