Builds a response with error details for a query.
Builds a response with error details for a query.
Unique ID of channel
Error message
Builds a response for a success query.
Builds a response for a success query.
Unique ID of channel
BSON documents
Builds a response with error details for a write operation.
Builds a response with error details for a write operation.
Uniqe ID of channel
Error message
Error code
Defines instance of WriteOp enum.
Defines instance of WriteOp enum.
Builds a response for a successful write operation.
Builds a response for a successful write operation.
Unique ID of channel
The number of documents affected by last command, 0 if none
Some existing document has been updated
Builds a Mongo response.
Builds a Mongo response.
Unique ID of channel
BSON documents