Method | Description | |
---|---|---|
__construct ( string $databaseName, string $collectionName, array | object $filter, array $options = [] ) | Constructs a findAndModify command for deleting a document. | |
execute ( MongoDB\Driver\Server $server ) : object | null | Execute the operation. |