Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2525

UpdateFirst with query has sort order not working

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.0
    • Command Operations
    • None

    Description

      Hi Team,
      I am using Spring Mongo operations and I want to use updateFirst() command. In this method we have to pass the query with criteria. The query has some criterias with Sort Order also but during the updateFirst() it doesn't include the order.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rajeshgupta RAJESH GUPTA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: