Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55967

How to limit the number of document updates?

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Language, Querying
    • None
    • Server Triage

      Hi

      I want to limit the number of document updates in one command.

      for example

      db.users.updateMany(
      
          <filter>,
      
          <update>,
      
          {
      
              limit : 100
      
          }
      
      );
      

       

       

            Assignee:
            backlog-server-triage [HELP ONLY] Backlog - Triage Team
            Reporter:
            abolfazl.ziaratban@gmail.com Abolfazl Ziaratban
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: