Skip to content

Support for Aggregation Pipelines #35

@em7

Description

@em7

Hello, do you plan to add support for Aggregation Pipelines, please? https://docs.mongodb.com/manual/core/aggregation-pipeline/

If not, can I attempt to do it by myself and submit a PR?

It's not a total show stopper, you can still call an Aggregate Pipeline

(pp (iter (db.find "$cmd" (kv (kv "aggregate" "collection-name")
                              (kv "pipeline" (list (kv "$operator" "parameter")))
                              (kv "cursor" (kv nil nil))) )))

However I'd like to have a better way without making my own function/macro because it should be in the library IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions