(Advanced) The low level transport mechanism that talks to MongoDB instances.
This is, actually, the only class you need to talk to a MongoDB instance! All other classes merely wrap calls to this.
This class, and the BSON reader / writer classes, have been optomised for memory efficiency. Feel free to send your 16Mb+ documents to MongoDB for they'll be streamed straight out over the socket.
Asks MongoDB for more documents from a query.
Closes the given active cursors in the database.
new make(Connection connection)
Operationwith the given connection.
Queries MongoDB for documents in a collection.
Reads a reply from the server.
nullwhen gulping down replies resulting from an exhaust query.
Runs the given Mongo command and returns the reply document.