| Q | A
|------------ | -----
| Version | 3.4
Hi,
Is it possible to use the allowDiskUse: true in aggregationBuilder please ?
You can pass $options when calling execute.
See execute method excerpt from 1.2/1.3:
https://github.com/doctrine/mongodb-odm/blob/0cd3c37dfc369abdb3cb8090a50def7ea161f469/lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L67-L78
Same method in 2.0 has the same signature and works the same way (roughly):
https://github.com/doctrine/mongodb-odm/blob/871c37bad1a8f97c5c06e7132ebf60d424f6e48f/lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L160-L172
You're a rockstar man, thank you for the quick and clear answer.
I did not see that, thanks again !
Most helpful comment
You can pass
$optionswhen callingexecute.See
executemethod excerpt from 1.2/1.3:https://github.com/doctrine/mongodb-odm/blob/0cd3c37dfc369abdb3cb8090a50def7ea161f469/lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L67-L78
Same method in 2.0 has the same signature and works the same way (roughly):
https://github.com/doctrine/mongodb-odm/blob/871c37bad1a8f97c5c06e7132ebf60d424f6e48f/lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L160-L172