log_replyCallback When Reading the MongoDB reply
&reftitle.description;
log_replyarrayserverarraymessageHeadersarrayoperationHeaders
A callable function, used by the
log_reply context option,
when reading a reply from MongoDB.
This is not a real function, only a prototype of how the function should
be.
&reftitle.parameters;
&mongo.context.server;
messageHeaderskeyvaluelengthinteger, bytes, message reply lengthrequest_idinteger, the server request identifierresponse_idinteger, the driver request identifier this message is a response ofopcodeinteger, the opcode idoperationHeaderskeyvalueflagsinteger, bitmask of protocol flagscursor_idinteger, ID of the cursor created on the server (0 if none created, or its been exhausted)startThe starting offset of this cursorreturnedinteger, how many documents are returned in this trip
&reftitle.seealso;
The OP_REPLY definition in the Wire Protocol