public function execute(Expression $expr)
    {
        // If custom connection is set, execute again using that
        if ($this->connection && $this->connection !== $this) {
            return $expr->execute($this->connection);
        }

        throw new Exception('Queries cannot be executed through this connection');
    }
public function execute(Expression $expr)
    {
        // If custom connection is set, execute again using that
        if ($this->connection && $this->connection !== $this) {
            return $expr->execute($this->connection);
        }

        throw new Exception('Queries cannot be executed through this connection');
    }
public function execute ( Expression $ expr ) { // If custom connection is set, execute again using that if ( $ this -> connection && $ this -> connection !== $ this ) { return $ expr -> execute ( $ this -> connection ) ; } throw new Exception ( 'Queries cannot be executed through this connection' ) ; }
Execute Expression by using this connection.

@param Expression $expr

@return \PDOStatement
Execute Expression by using this connection .