Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-514

Deletemany cannot control the number of entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Labels:
      None

      Description

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

       

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

       

       

       

        Attachments

          Activity

            People

            Assignee:
            andreas.braun Andreas Braun
            Reporter:
            1514582970@qq.com dong sao
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: