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

Implement Collection::findOneAndDelete()

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.0
    • Affects Version/s: 0.1.0
    • Component/s: None
    • None

      Usage example:

      $collection->findOneAndDelete(
          // Required criteria param
          ['x' => 1],
          // Optional named params in an associative array
          [
              'projection' => ['y' => 1, '_id' => 0],
          ]
      );
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: