public function forDelete($deleteOptions = []){
        $table=$model=null;
        if ($this->model) {
            $model = $this->model;
            $table = $model::getTableName();
        }
        $join = $this->getJoin();
        $order = ($order = $this->getOrder()) ? ' ORDER BY ' . $order : '';
        $limit = ($limit = $this->getLimit()) ? ' LIMIT ' . $limit : '';
        $options = implode(" ", $deleteOptions);
        $q = ($this->model ? "DELETE $options FROM `t` USING `$table` as `t` " : "") . $join . " WHERE (" . $this->getCondition() . ")" . $order . $limit;
        return $q;
    }