title: What is the meaning of max and offset pagination params in createcriteria?
body: <p>In <a href="http://grails.org/doc/2.2.3/ref/Domain%20Classes/list.html" rel="nofollow">the Grails documentation</a>, we read:</p>
  
  <pre><code>def results = Book.list(max: 10, offset: 100)
  </code></pre>
  
  <ul>
  <li><em>max - The maximum number to list</em></li>
  <li><em>offset - The offset from the first result to list from</em></li>
  </ul>
  
  <p>Also, from <a href="http://www.mysqltutorial.org/mysql-limit.aspx" rel="nofollow">this MySQL tutorial</a>, we read: <em>the offset specifies the offset of the first row to return.</em> </p>
  
  <p>Questions:</p>
  
  <ul>
  <li><strong>Is <em>max</em> the maximium number of rows per page?</strong></li>
  <li><strong>Could you give me an example about the <em>offset</em> meaning?</strong></li>
  </ul>