public function getCompiledUpdate(bool $reset = true): string
	{
		if ($this->validateUpdate() === false)
		{
			return false;
		}

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

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

		return $this->compileFinalQuery($sql);
	}
public function getCompiledUpdate(bool $reset = true): string
	{
		if ($this->validateUpdate() === false)
		{
			return false;
		}

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

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

		return $this->compileFinalQuery($sql);
	}
public function getCompiledUpdate ( bool $ reset = true ) : string { if ( $ this -> validateUpdate ( ) === false ) { return false ; } $ sql = $ this -> _update ( $ this -> QBFrom [ 0 ] , $ this -> QBSet ) ; if ( $ reset === true ) { $ this -> resetWrite ( ) ; } return $ this -> compileFinalQuery ( $ sql ) ; }
Get UPDATE query string

Compiles an update query and returns the sql

@param boolean $reset TRUE: reset QB values; FALSE: leave QB values alone

@return string
Get UPDATE query string