Support passing query builder instances to Stage::match()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Based on this GitHub discussion: https://github.com/mongodb/laravel-mongodb/discussions/3200

      We should consider providing a custom Match expression that allows passing a query builder instance to Stage::match(), so users can reuse existing logic for filtering in an aggregation pipeline.

              Assignee:
              Unassigned
              Reporter:
              Andreas Braun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: