title: Pass all the values of a database table without limit()
body: <p>If i run this code it passes only 6 values of the database. </p>
  
  <pre><code>// Begin building the query.
    $query = db_select('watchdog', 'th')
      -&gt;extend('PagerDefault')
      -&gt;orderBy('wid')
      -&gt;fields('th', array('variables', 'type', 'severity', 'message', 'wid'));
  
  
    // Fetch the result set.
    $result = $query  -&gt; execute();
  </code></pre>
  
  <p>I know that if i put limit() in my code i will run more values </p>
  
  <pre><code>// Begin building the query.
    $query = db_select('watchdog', 'th')
      -&gt;extend('PagerDefault')
      -&gt;orderBy('wid')
      -&gt;fields('th', array('variables', 'type', 'severity', 'message', 'wid'))
      -&gt;limit(2000);
  
    // Fetch the result set.
    $result = $query  -&gt; execute();
  </code></pre>
  
  <p>but how i can run all the values of the db table without this limit()?</p>