-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: CRUD
-
None
-
Needed
-
After discussion on return type of search index drop/update operations, it was decided that it should be void.
It's inconsistent to return profiling information only when there is nothing else. There are events for that.
- ok is always 1, I suppose there is always an exception in case of error.
- $clusterTime is in the session
- operationTime is typically for profiling. So use MongoDB\Driver\Monitoring\CommandSubscriber for that.
Modify the return type of the following operations to void:
- CreateCollection
- CreateEncryptedCollection
- DropCollection
- DropDatabase
- DropEncryptedCollection
- DropIndexes
- DropSearchIndex (already void)
ModifyCollection
- RenameCollection
- UpdateSearchIndex (already void)
This is a breaking change for version 2.0
There are no Sub-Tasks for this issue.