Tools for creating messages to be sent to MongoDB.
Note
This module is for internal use and is generally not needed by application developers.
Get a delete message.
opts is a CodecOptions. flags is a bit vector that may contain the SingleRemove flag or not:
http://docs.mongodb.org/meta-driver/latest/legacy/mongodb-wire-protocol/#op-delete
Get a getMore message.
Get an insert message.
Used by the Bulk API to insert into pre-2.6 servers. Collection.insert uses _do_batched_insert.
Get a killCursors message.
Get a query message.
Get an update message.