You need to enable JavaScript to run this app.
Docs
Guides
Download
Dashboard
Docs
Guides
Download
Dashboard
Guides
Starting
5
MerlinDB instance
Connections
Schemas
Models
ObjectId
Database Methods
11
db.dropDatabase()
db.dropAll()
db.info()
db.version()
db.databaseSize()
db.getMemInfo()
db.createModel()
db.getModels()
db.getModel()
db.renameModel()
db.deleteModel()
Schema
14
Create an Schema
Schema.types
Schema.unique
Schema.required
Schema.minLength
Schema.maxLength
Schema.min
Schema.max
Schema.minList
Schema.maxList
Schema.validateEmail
Schema.enum
Schema.encrypt
Schema.validate
Model Methods
30
model.insert()
model.insertOne()
model.insertMany()
model.find()
model.findOne()
model.findMany()
model.findAndModify()
model.findOneAndDelete()
model.findOneAndUpdate()
model.findOneAndReplace()
model.findById()
model.findByIdAndDelete()
model.findByIdAndUpdate()
model.updateOne()
model.updateMany()
model.deleteOne()
model.deleteMany()
model.aggregate()
model.bulkWrite()
model.$where()
model.dataSize()
model.distinct()
model.estimatedDocumentCount()
model.countDocuments()
model.createIndex()
model.createIndexes()
model.drop()
model.dropIndex()
model.dropIndexes()
model.getIndexes()
Cursor Methods
12
cursor.sort()
cursor.limit()
cursor.skip()
cursor.forEach()
cursor.pretty()
cursor.map()
cursor.maxTimeMs()
cursor.hint()
cursor.returnKey()
cursor.size()
cursor.max()
cursor.min()
Operators
23
$eq
$gt
$gte
$in
$lt
$lte
$ne
$nin
$and
$not
$nor
$or
$regex
$exists
$type
$mod
$text
$where
$all
$size
$set
$inc
$order
model.updateOne()
model.updateMany()
model.deleteOne()
'update-many' content not found!
⇜
model.updateOne()
model.deleteOne()
⇝
model.updateOne()
model.updateMany()
model.deleteOne()