/** * * @param int $limit * @return string Description */ function delete() { if (!$this->primary_keys) { Exception::noPrimaryKey(); } $qb = $this->getQueryBuilder(); $qb->delete($this->table_name); return $qb->execute(); }