Document aggregation pipeline

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 7.1.0.rc0
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As far as I can tell there is no documentation for aggregation pipeline in Mongoid. This includes using mongodb's aggregation pipeline directly via hashes and using Mongoid DSL for aggregation pipeline.

      For the general purpose aggregation pipeline, making the following SO answer into a tutorial page should largely suffice:

      https://stackoverflow.com/questions/57447535/search-for-a-record-that-has-a-relationship-to-objects-with-specific-value-using/57469691#57469691

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: