Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5498

Aggregation Builder DSL is incomplete

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Mongoid provides a DSL to build aggregation pipelines, but this is limited to the $group, $unwind, and $project stages. Additionally, a $match stage can be added using the query method, as per the documentation.

      This feature would be significantly more helpful if it provided access to other aggregation pipeline stages as well. As is, any aggregation pipeline that uses other pipeline stages cannot use these helpers but rather needs to be assembled without using the builder DSL.

            Assignee:
            Unassigned Unassigned
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: