-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
PHP Drivers
-
None
-
None
-
None
-
None
-
None
-
None
In order to use a Query Builder as an expression for the $filter operator, it's necessary to convert a query into an expression syntax.
$query->where('nb', '>', 10)
Currently generates $gt query:
{"nb": {"$gt": 10}}
Add a new method to generate $gt expression:
{"$gt": ["$nb", 10]}