match
validator undefinedisModified
a schema reserved keyword #2975setDefaultsOnInsert
without specifying runValidators
#2938kind
property #2885new
option to findAndModify ops is false by default #2262geoNear()
no longer enforces legacy coordinate pairs - supports GeoJSON #1987 alabiddoc.errors
now cleared before validate()
called #2302execPopulate()
function to make doc.populate()
compatible with promises #2317count()
no longer throws an error when used with sort()
#2374save()
no longer recursively calls save()
on populated fields #2418required
field #2247domain
to reserved keywords #1338 #2052 antoinepairetdoc.remove()
returns a promise #1619 refackdomain
to reserved keywords #2052 #1338npm
will shut up #1769 refackoverwrite
optionawaitdata
query optionminimize
and getters
options #1607 JedWatsonoverwrite
optionawaitdata
query optionsetMaxListeners
as pathmodel
as doc propertypath
as pathname #1245 daeqcollection
option docs hermanjungedoc.array.set(index, value)
read
schema optionoptions
as a pathname (#529)model
is again a permitted schema path namethrows
[regality]lean
query option [gitfy]safe
along to doc#remove() callssafe
option in all ensureIndex callsinstance.save()
(#691)model()
method within static methodserror
on connection when open fails [edwardhotchkiss]null
and undefined
are set atomically.undefined
.type
as a key.uri, db, fn
and uri, fn
signatures for replica sets.lowercase
, uppercase
, trim
.Model
, Document
) and tests.Document
s.id
virtual getter for documents to easily access the hexString of
the _id
.Document#toJSON
[dalejefferson]Connection
authentication [robrighter]Model#save
promise handlingpost
middlewareMongooseNumber
, works almost like the native except for typeof
not being 'number'
.