Feature #49050
Allow Subqueries in QueryInterface
Status: | New | Start date: | 2013-06-12 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Persistence | |||
Target version: | - | |||
PHP Version: | Complexity: | easy | ||
Has patch: | No |
Description
Currently, subqueries are supported by doctrine, but not by flow. Fixing this should be easy.
This is how it should look like in the repository:
$q = $this->createQuery(); $constraint = $q->matching('in', $otherQueryInterface);
To allow this, simple add __toString() to QueryInterface.
Doctrine/Query can easily implement this with:
$this->queryBuilder->__toString();