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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: