src/AutoQueryBuilder.php
/**
     * Executes the query against the passed query instance
     * 
     * @return Result
     * @throws BadMethodCallException
     */
Executes the query against the passed query instance

@return Result
@throws BadMethodCallException
Executes the query against the passed query instance @return Result @throws BadMethodCallException
public function execute() {
        if (!$this->queryInstance) {
            throw new BadMethodCallException("Query instance is not passed. Consider calling \$object->setQueryInstance(\$istance) first");
        }
        return $this->queryInstance->query($this->toArray());
    }
public function execute ( ) { if ( ! $ this -> queryInstance ) { throw new BadMethodCallException ( " Query instance is not passed. Consider calling  \$ object->setQueryInstance( \$ istance) first " ) ; } return $ this -> queryInstance -> query ( $ this -> toArray ( ) ) ; }
Executes the query against the passed query instance
Executes the query against the passed query instance