Aggregate subdocument arrays (#918)
* add sub document aggregation array functionality example: Model::sum('subarray.*.price'); this method is much simpler as to use as complex raw aggregations for this function a $unwind directive will be pushed in pipeline before $group * change testSubdocumentArrayAggregate change test for different scenarios * rebase to latest master and fix style ci issues
Showing
Please
register
or
sign in
to comment