title: need good sql library for php
body: <p>I need a library like <a href="http://crystal.martinrusev.net/" rel="nofollow">Crystal Project</a> 
  I currently use Crystal, but it has bad join and table prefix support, and doesn't have a function for getting row-count, so I need to change to something with better support for these.</p>
  
  <p>I don't need an ORM or abstraction library. I just need good mysql wrapper with chain method support eg:</p>
  
  <pre><code>(-&gt;order_by('-id')-&gt;limit(($page - 1) * 20, 20)-&gt;print_sql();)
  </code></pre>