MERLINDB GUIDES
  • For more details visit the routes below, MerlinDB is similar and uses almost all the same methods as MongoDb with a touch of Mongoose
  • , so you may feel more familiar. Feel free.

    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