-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.1.1
-
Component/s: None
-
None
The CRUD spec defines BulkWriteResult which should match our WriteResult
class BulkWriteResult { /** * Indicates whether this write result was ackowledged. If not, then all * other members of this result will be undefined. */ acknowledged: Boolean optional; /** * Number of documents inserted. */ insertedCount: Int64 required; /** * Map of the index of the operation to the id of the inserted document. */ insertedIds: Map<Int64, any> optional; /** * Number of documents matched for update. */ matchedCount: Int64 required; /** * Number of documents modified. */ modifiedCount: Int64 required; /** * Number of documents deleted. */ deletedCount: Int64 required; /** * Number of documents upserted. */ upsertedCount: Int64 required; /** * Map of the index of the operation to the id of the upserted document. */ upsertedIds: Map<Int64, any> required; }
- is related to
-
PHPLIB-27 Create write result classes
- Closed