public function delete()
    {
        $query = 'delete from '.$this->getTables($this->tables).' ';
        //
        $query .= ' '.$this->where;
        //
        $this->reset();
        //
        return Database::exec($query);
    }