Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
I know the simple find and projection example of mongoDB which koolreport supports?
'collection' => 'sales', 'find' => ['age' => ['$gte' => '40']], 'options' => [ 'skip' => 0, 'limit' => 5, 'projection' => [ '_id' => 0, 'name' => 1, 'age' => 1, ], ],
But what if I have to $match, $group and $unwind these aggregation operators in query? How should I use this with above query?
At the moment MongoDataSource hasn't had support for aggregate query yet. We will consider adding it to MongoDataSource in the next release of KoolReport. I will update development progress to you in this topic and send you an early version of the data source if and when it's available. Thanks!