Do you know any good PHP database frameworks that help you build up the query programmatically?<p>Over the years, we built one in-house at <a href="http:&#x2F;&#x2F;qbix.com&#x2F;platform&#x2F;guide&#x2F;database" rel="nofollow">http:&#x2F;&#x2F;qbix.com&#x2F;platform&#x2F;guide&#x2F;database</a> because we couldn&#x27;t find one. It does things like sharding out of the box, because it&#x27;s able to understand the query&#x27;s criteria and target it to the right shards.