src/Query/Builder.php
public function getQuery()
    {
        // Return the query if it exists
        if (!empty($this->query)) {
            return $this->query;
        }

        /*
         * Looks like our query hasn't been assembled
         * yet, let's try to assemble it
         */
        $this->assembleQuery();

        // Return the assembled query
        return $this->query;
    }
public function getQuery()
    {
        // Return the query if it exists
        if (!empty($this->query)) {
            return $this->query;
        }

        /*
         * Looks like our query hasn't been assembled
         * yet, let's try to assemble it
         */
        $this->assembleQuery();

        // Return the assembled query
        return $this->query;
    }
public function getQuery ( ) { // Return the query if it exists if ( ! empty ( $ this -> query ) ) { return $ this -> query ; } /*
         * Looks like our query hasn't been assembled
         * yet, let's try to assemble it
         */ $ this -> assembleQuery ( ) ; // Return the assembled query return $ this -> query ; }
Returns the current query string.

@return string
Returns the current query string .