I have a remote database on MongoDB and i want to execute an aggregate method for grouping entries w.r.t. a certain field using restheart. My query looks like this
db.musa.aggregate([{$group:{_id:"$username"}}])
this query returns a list of unique users in my database but i am not sure how to implement it using restheart. Is it even possible to do so?