Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-262

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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 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 Unassigned
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None