title: sql query using redbeans php
body: <p>Hi I am just beginning to use redbeans ORM. I followed the docs and tried doing a query like this</p>
  
  <pre><code>$thebean=R::find("users","id&gt;2");
  </code></pre>
  
  <p>and then I loop through like:-</p>
  
  <pre><code>foreach($thebean as $bean){
  echo $bean-&gt;username;
  }
  </code></pre>
  
  <p>However I find that if the even if the users table contains more than 100 data, the above query only fetches the last data . for eg: if I have users 1 to 100. I only get the user with id=100. Can somebody please tell me what I might be doing wrong.</p>