title: bigquery queryresults rows pagintation configuration options?
body: <p><a href="https://googlecloudplatform.github.io/google-cloud-php/#/docs/v0.21.1/bigquery/table?method=rows" rel="nofollow noreferrer">https://googlecloudplatform.github.io/google-cloud-php/#/docs/v0.21.1/bigquery/table?method=rows</a></p>
  
  <p>Bigquery table has method "rows". rows() method can take parameter "options", which can be used for pagination</p>
  
  <p>Such as</p>
  
  <pre><code>$options = [
              'maxResults' =&gt; 3,
              'startIndex' =&gt; 0
          ];
  </code></pre>
  
  <p>$rows = $table->rows($options);</p>
  
  <p>Now what I want is using pagination in bigquery queryresults rows() method</p>
  
  <p><a href="https://googlecloudplatform.github.io/google-cloud-php/#/docs/v0.21.1/bigquery/queryresults?method=rows" rel="nofollow noreferrer">https://googlecloudplatform.github.io/google-cloud-php/#/docs/v0.21.1/bigquery/queryresults?method=rows</a></p>
  
  <p>Here is the documentation for queryresults rows method. rows() also takes options as parameter. (But it does not give which field should be in the options).</p>
  
  <pre><code>$queryResults = $this-&gt;bigQuery-&gt;runQuery($query, ['useLegacySql' =&gt; false]);
  $options = [
              'maxResults' =&gt; 3,
              'startIndex' =&gt; 0
          ];
  
  $rows = $queryResults-&gt;rows($options);
  </code></pre>
  
  <p>But the options only ask for the top 3 records does not work. It still give me full set of queryresults rows.</p>
  
  <p>Thanks!</p>