Publish function can only return a Cursor or an array of Cursors


#1

how to publish aggregate


#2

You should use one of the available aggregation publish packages. For example jcbernack:reactive-aggregate, tunguska:reactive-aggregate or lamoglia:publish-aggregation.


#3

thanks :hugs::hugs::hugs: