Feature #49050

Allow Subqueries in QueryInterface

Added by Bernd Helbig over 8 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Persistence
Target version:
-
Start date:
2013-06-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:
easy

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();

No data to display

Also available in: Atom PDF