Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28706

Merge Aggregation Pipeline and CRUD Operations into a Single Query Pipeline

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Query Optimization

      Instead of having commands for finding, creating, updating, and deleting documents and also a pipeline for aggregating documents, why do not we have a single pipeline where one can also add $create, $update, $delete stages and we call this generic pipeline Query Pipeline?

      This will give powerful query expressions such as create, updating, or deleting based on previous stages results. Also, it will shift a lot of application layer logic to database layer.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            geekox86 Mohannad Saeed
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: