How to use $facet

18 views
Skip to first unread message

Emre Kanca

unread,
Dec 5, 2016, 10:33:44 AM12/5/16
to ReactiveMongo - http://reactivemongo.org
Hi 
I can't find any example of using $facet with play reactivemongo

Other than using rawCommand with BSONDocuments

I guess it is not supported.

Is there any other suggested way
Thanks

Cédric Chantepie

unread,
Dec 5, 2016, 3:31:05 PM12/5/16
to ReactiveMongo - http://reactivemongo.org
This is an aggregation stage, so it can be created using the appropriate factory ( http://reactivemongo.org/releases/0.12/api/#reactivemongo.api.commands.AggregationFramework$PipelineOperator$ ) and the aggregation framework.
Reply all
Reply to author
Forward
0 new messages