doctrine/phpcr-odm — pull request #76 by nacmartin (2011-10-28 23:49:02+00:00)
Title: QueryBuilder with fluent interface

This a QueryBuilder with fluent interface that mimics the behaviour of the Doctrine DBAL QueryBuilder. It doesn't depend on other stuff of the DBAL, it depends only on PHPCR interfaces, so I think it can go either here or into PHPCR as "helper" code.

It is tested with unit tests and also this piece of "real code" using the QueryBuilder works:
https://github.com/nacmartin/SonataAdminBundle/blob/phpcr/Datagrid/ODM/PHPCR/ProxyQuery.php

PS: I have updated the jackalope submodule to current master to get the new names for andConstraint() and orConstraint() of the QOM.