replaced by organizationContent to support and extend the book published through Packt Publishing & provide general API information - order the book from [Packt](bit.ly/APIP-CS) or Amazon Edit
cursor
key is always present in aggregation commandsCursor.prototype.hasNext
now propagates errors when using callbacknoCursorTimeout
as an option to find()
reconnectFailed
event from Server topologypromoteLongs
from MongoClient’s connect
appname
to list of valid option names_id
(Issue #1517, https://github.com/vkarpov15).find()
.disconnected
event?aliases
option, always results in null
value in GridFS files (Issue #1152, https://github.com/vsivsi)options.connectArbiter
to decide connect arbiters or not (Issue #675)find({a:1}, {read:'primary'}).toArray(function(err, items) {});
Added logger option for Db class, lets you pass in a function in the shape { log : function(message, object) {}, error : function(errorMessage, errorObject) {}, debug : function(debugMessage, object) {}, }
Usage is new Db(new Server(..), {logger: loggerInstance})