W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
Mongoose 官方文档
Aggregate
Aggregate#addCursorFlag()
Aggregate#allowDiskUse()
Aggregate#append()
Aggregate#collation()
Aggregate#cursor()
Aggregate#exec()
Aggregate#explain()
Aggregate#facet()
Aggregate#graphLookup()
Aggregate#group()
Aggregate#limit()
Aggregate#lookup()
Aggregate#match()
Aggregate#model()
Aggregate#near()
Aggregate#project()
Aggregate#read()
Aggregate#sample()
Aggregate#skip()
Aggregate#sort()
Aggregate#then()
Aggregate#unwind()
Aggregate()
AggregationCursor
AggregationCursor#addCursorFlag()
AggregationCursor#close()
AggregationCursor#eachAsync()
AggregationCursor#map()
AggregationCursor#next()
AggregationCursor()
Guides
Built-in Promises
Connections
Creating a Basic Custom Schema Type
Declaring defaults in your schema
Documents
Getters and Setters
Middleware
Models
Plugins
Population
Queries
Schemas
SchemaTypes
Sub Docs
Validation
Collection
Collection#collectionName
Collection#conn
Collection#ensureIndex()
Collection#find()
Collection#findAndModify()
Collection#findOne()
Collection#getIndexes()
Collection#insert()
Collection#mapReduce()
Collection#name
Collection#save()
Collection#update()
Collection()
Connection
Connection#close()
Connection#collection()
Connection#collections
Connection#config
Connection#db
Connection#dropDatabase()
Connection#model()
Connection#modelNames()
Connection#readyState
Connection()
Decimal128
Decimal128#checkRequired()
Decimal128()
Decimal128.schemaName
Document
Document#$ignore()
Document#$isDefault()
Document#depopulate()
Document#equals()
Document#errors
Document#execPopulate()
Document#get()
Document#id
Document#init()
Document#inspect()
Document#invalidate()
Document#isDirectModified()
Document#isDirectSelected()
Document#isInit()
Document#isModified()
Document#isNew
Document#isSelected()
Document#markModified()
Document#modifiedPaths()
Document#populate()
Document#populated()
Document#schema
Document#set()
Document#toJSON()
Document#toObject()
Document#toString()
Document#unmarkModified()
Document#update()
Document#validate()
Document#validateSync()
DocumentArray
DocumentArray()
DocumentArray.schemaName
Embedded
Embedded()
EmbeddedDocument
EmbeddedDocument#inspect()
EmbeddedDocument#invalidate()
EmbeddedDocument#ownerDocument()
EmbeddedDocument#parent()
EmbeddedDocument#parentArray()
EmbeddedDocument#remove()
EmbeddedDocument.markModified()
ES6Promise
ES6Promise()
exports
exports#SchemaTypes
exports#Types
exports()
exports.Document()
exports.Error()
exports.pluralization
exports.PromiseProvider()
exports.Schema()
exports.uncountables
exports.VirtualType()
Mixed
Mixed()
Mixed.schemaName
Model
Model#$where
Model#$where()
Model#base
Model#baseModelName
Model#collection
Model#db
Model#discriminators
Model#increment()
Model#model()
Model#modelName
Model#remove()
Model#save()
Model#schema
Model()
Model.aggregate()
Model.bulkWrite()
Model.count()
Model.create()
Model.deleteMany()
Model.deleteOne()
Model.discriminator()
Model.distinct()
Model.ensureIndexes()
Model.find()
Model.findById()
Model.findByIdAndRemove()
Model.findByIdAndUpdate()
Model.findOne()
Model.findOneAndRemove()
Model.findOneAndUpdate()
Model.geoNear()
Model.geoSearch()
Model.hydrate()
Model.insertMany()
Model.mapReduce()
Model.populate()
Model.remove()
Model.replaceOne()
Model.translateAliases()
Model.update()
Model.updateMany()
Model.updateOne()
Model.where()
module
module.exports()
Mongoose
Mongoose
Mongoose#Aggregate()
Mongoose#CastError()
Mongoose#Collection()
Mongoose#connect()
Mongoose#connection
Mongoose#createConnection()
Mongoose#disconnect()
Mongoose#Document()
Mongoose#DocumentProvider()
Mongoose#Error()
Mongoose#get()
Mongoose#getPromiseConstructor()
Mongoose#Model()
Mongoose#modelNames()
Mongoose#mongo
Mongoose#Mongoose()
Mongoose#mquery
Mongoose#plugin()
Mongoose#PromiseProvider()
Mongoose#Query()
Mongoose#Schema()
Mongoose#SchemaType()
Mongoose#SchemaTypes
Mongoose#set()
Mongoose#Types
Mongoose#version
Mongoose#VirtualType()
Mongoose()
MongooseArray
MongooseArray#$shift()
MongooseArray#remove()
MongooseArray.$pop()
MongooseArray.addToSet()
MongooseArray.indexOf()
MongooseArray.inspect()
MongooseArray.nonAtomicPush()
MongooseArray.pop()
MongooseArray.pull()
MongooseArray.push()
MongooseArray.set()
MongooseArray.shift()
MongooseArray.sort()
MongooseArray.splice()
MongooseArray.toObject()
MongooseArray.unshift()
MongooseBuffer
MongooseBuffer.copy()
MongooseBuffer.equals()
MongooseBuffer.subtype()
MongooseBuffer.toObject()
MongooseBuffer.write()
MongooseDocumentArray
MongooseDocumentArray.create()
MongooseDocumentArray.id()
MongooseDocumentArray.inspect()
MongooseDocumentArray.toObject()
MongooseError
MongooseError()
MongooseError.messages
MongooseError.messages()
NativeCollection
NativeCollection#getIndexes()
NativeConnection
NativeConnection#useDb()
NativeConnection.STATES
ObjectId
ObjectId#auto()
ObjectId#checkRequired()
ObjectId()
ObjectId()
ObjectId.schemaName
Promise
Promise#addBack()
Promise#addCallback()
Promise#addErrback()
Promise#catch()
Promise#end()
Promise#error()
Promise#on()
Promise#reject()
Promise#resolve()
Promise#then()
Promise()
Promise.complete()
Promise.ES6()
Promise.fulfill()
Query
Query#$where()
Query#all()
Query#and()
Query#batchSize()
Query#box()
Query#cast()
Query#catch()
Query#center()
Query#centerSphere()
Query#circle()
Query#collation()
Query#comment()
Query#count()
Query#cursor()
Query#deleteMany()
Query#deleteOne()
Query#distinct()
Query#elemMatch()
Query#equals()
Query#exec()
Query#exists()
Query#find()
Query#findOne()
Query#findOneAndRemove()
Query#findOneAndUpdate()
Query#geometry()
Query#getQuery()
Query#getUpdate()
Query#gt()
Query#gte()
Query#hint()
Query#in()
Query#intersects()
Query#lean()
Query#limit()
Query#lt()
Query#lte()
Query#maxDistance()
Query#maxScan()
Query#merge()
Query#mod()
Query#mongooseOptions()
Query#ne()
Query#near()
Query#nearSphere()
Query#nin()
Query#nor()
Query#or()
Query#polygon()
Query#populate()
Query#read()
Query#regex()
Query#remove()
Query#replaceOne()
Query#select()
Query#selected()
Query#selectedExclusively()
Query#selectedInclusively()
Query#setOptions()
Query#size()
Query#skip()
Query#slaveOk()
Query#slice()
Query#snapshot()
Query#sort()
Query#stream()
Query#tailable()
Query#then()
Query#toConstructor()
Query#update()
Query#updateMany()
Query#updateOne()
Query#use$geoWithin
Query#where()
Query#within()
QueryCursor
QueryCursor#addCursorFlag()
QueryCursor#close()
QueryCursor#eachAsync()
QueryCursor#map()
QueryCursor#next()
QueryCursor()
QueryStream
QueryStream#destroy()
QueryStream#pause()
QueryStream#paused
QueryStream#pipe()
QueryStream#readable
QueryStream#resume()
QueryStream()
Schema
Schema#add()
Schema#clone()
Schema#eachPath()
Schema#get()
Schema#index()
Schema#indexes()
Schema#loadClass()
Schema#method()
Schema#obj
Schema#path()
Schema#pathType()
Schema#plugin()
Schema#post()
Schema#pre()
Schema#queue()
Schema#remove()
Schema#requiredPaths()
Schema#set()
Schema#static()
Schema#virtual()
Schema#virtualpath()
Schema()
Schema.indexTypes()
Schema.reserved
Schema.Types
SchemaArray
SchemaArray#checkRequired()
SchemaArray()
SchemaArray.schemaName
SchemaBoolean
SchemaBoolean#checkRequired()
SchemaBoolean()
SchemaBoolean.schemaName
SchemaBuffer
SchemaBuffer#checkRequired()
SchemaBuffer()
SchemaBuffer.schemaName
SchemaDate
SchemaDate#checkRequired()
SchemaDate#expires()
SchemaDate#max()
SchemaDate#min()
SchemaDate()
SchemaDate.schemaName
SchemaNumber
SchemaNumber#checkRequired()
SchemaNumber#max()
SchemaNumber#min()
SchemaNumber()
SchemaNumber.schemaName
SchemaString
SchemaString#checkRequired()
SchemaString#enum()
SchemaString#lowercase()
SchemaString#match()
SchemaString#maxlength()
SchemaString#minlength()
SchemaString#trim()
SchemaString#uppercase()
SchemaString()
SchemaString.schemaName
SchemaType
SchemaType#default()
SchemaType#get()
SchemaType#index()
SchemaType#required()
SchemaType#select()
SchemaType#set()
SchemaType#sparse()
SchemaType#text()
SchemaType#unique()
SchemaType#validate()
SchemaType()
Subdocument
Subdocument#ownerDocument()
Subdocument#parent()
Subdocument#remove()
ValidationError
ValidationError#toString()
VirtualType
VirtualType#applyGetters()
VirtualType#applySetters()
VirtualType#get()
VirtualType#set()
VirtualType()
Index
index