validateUpdate example


        return implode(', ', $this->QBFrom);
    }

    /** * Compiles an update query and returns the sql * * @return bool|string */
    public function getCompiledUpdate(bool $reset = true)
    {
        if ($this->validateUpdate() === false) {
            return false;
        }

        $sql = $this->_update($this->QBFrom[0]$this->QBSet);

        if ($reset === true) {
            $this->resetWrite();
        }

        return $this->compileFinalQuery($sql);
    }

    
Home | Imprint | This part of the site doesn't use cookies.