public final function doQuery(string $query, array $queryParams = null): BatchInterface
    {
        return $this->queue($query, $queryParams)->do();
    }
public final function doQuery(string $query, array $queryParams = null): BatchInterface
    {
        return $this->queue($query, $queryParams)->do();
    }
public final function doQuery ( string $ query , array $ queryParams = null ) : BatchInterface { return $ this -> queue ( $ query , $ queryParams ) -> do ( ) ; }
Do query.
@param  string     $query
@param  array|null $queryParams
@return Oppa\Batch\BatchInterface
Do query .