Deletemany cannot control the number of entries

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.5.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $collection->deleteMany([], [
      'limit'=>1
      ])
      
      

       

      After the above code is executed, multiple docment have been deleted. The option limit does not work

       

       

       

            Assignee:
            Andreas Braun
            Reporter:
            dong sao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: