-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
The CRUD spec refers to numerous result classes that can be returned by write methods:
- BulkWriteResult
- InsertOneResult
- InsertManyResult (used for legacy bulk inserts)
- DeleteResult
- UpdateResult
Optional properties should likely be nullable. Most of the counts (excluding InsertManyResult) specify 64-bit integers, although I imagine we'd like to use PHP's native integer type for these, even on 32-bit platforms.
Map types can be associative arrays.
- is depended on by
-
PHPLIB-8 Implement Collection::replaceOne()
- Closed
-
PHPLIB-9 Implement Collection::updateOne()
- Closed
-
PHPLIB-11 Implement Collection::deleteMany()
- Closed
-
PHPLIB-13 Implement Collection::insertOne()
- Closed
-
PHPLIB-14 Implement Collection::deleteOne()
- Closed
-
PHPLIB-16 Implement Collection::insertMany()
- Closed
-
PHPLIB-17 Implement Collection::updateMany()
- Closed
- related to
-
PHPC-8 Rename count methods in WriteResults
- Closed