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

Add default methods accepting CriteriaDefinition on Fluent API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.2.1 (Moore SR1)
    • Fix Version/s: 3.0 RC1 (Neumann)
    • Component/s: None
    • Labels:
      None

      Description

      IMHO it would be nice to have an additional convenience method for ReactiveFindOperation.FindWithQuery:

      TerminatingFind<T> matching(CriteriaDefinition criteriaDefinition) {
          return Query(criteriaDefinition);
      }

      Additional candidates are ReactiveUpdateOperation.UpdateWithQuery and ReactiveRemoveOperation.RemoveWithQuery

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            juergen.zimmermann Juergen Zimmermann
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: