public function getSql()
    {
        if (null === $this->sql) {
            if (!empty($this->query)) {
                $this->setSql($this->buildQuery());
            } else {
                return false;
            }
        }

        return $this->sql;
    }
public function getSql()
    {
        if (null === $this->sql) {
            if (!empty($this->query)) {
                $this->setSql($this->buildQuery());
            } else {
                return false;
            }
        }

        return $this->sql;
    }
public function getSql ( ) { if ( null === $ this -> sql ) { if ( ! empty ( $ this -> query ) ) { $ this -> setSql ( $ this -> buildQuery ( ) ) ; } else { return false ; } } return $ this -> sql ; }
Get SQL for this command

@return string
Get SQL for this command