Uploaded image for project: 'Spring Data MongoDB'
  1. Spring Data MongoDB
  2. DATAMONGO-1845

Add support for $expr to Criteria query.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:

      Description

      Allow usage of Aggregation expressions in filter queries using $expr.

      db.monthlyBudget.find( { $expr: { $gt: [ "$spent" , "$budget" ] } } )
      

        Attachments

          Activity

            People

            Assignee:
            cstrobl Christoph Strobl
            Reporter:
            cstrobl Christoph Strobl
            Last updater:
            Christoph Strobl
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: