Closed buliin closed 7 years ago
There is no option to sort the results of the query if we use aggregate. Defining sort in the pipeline attribute is skipped (doesn't work). Is it possible to add sort option, just like in find?
sort
aggregate
pipeline
find
https://github.com/SymbolixAU/mongolitedt/issues/9#issuecomment-330756692
There is no option to
sort
the results of the query if we useaggregate
. Definingsort
in thepipeline
attribute is skipped (doesn't work). Is it possible to addsort
option, just like infind
?