in reply to Re^2: (OT) Perl and creating a query for MongoDB
in thread (OT) Perl and creating a query for MongoDB

Are you asking how to do aggregation in mongoDB. If so, how does this involve perl ?.

poj
  • Comment on Re^3: (OT) Perl and creating a query for MongoDB

Replies are listed 'Best First'.
Re^4: (OT) Perl and creating a query for MongoDB
by ovedpo15 (Pilgrim) on Jul 30, 2019 at 18:01 UTC
    Ahh yes.. My question is how to create an aggregation query. I know that it has to do little with Perl (because I only created the report with Perl). Thought it was possible to ask it here. If questions other than Perl, are not allowed here, that's ok and sorry for that :)

      Questions with a significant Perl content are encouraged. Other questions, such as this one, are allowed but should be marked Off Topic:(OT) in the title.

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
        Thanks for the explanation. Will remember for the future.
        I though about it and I will extract the reports as the are and create the wanted report with Perl. But I still not sure how to do it.
        It feels like I need to iterate through the inner array and then through the outer array.
        Can you suggest an efficient way to do this? Will update my post.