MongoDB 基础






Getting Started

安装和基本命令
install on windows
install on Mac
setup Mongodb service on windows 继续阅读: %s




Mongoose Interacting with Data – CRUD






Model methods and instance methods

So what do we mean by model methods? Well, if we have a model called User, some of the methods provided by Mongoose are User.create, User.find, User.update, and User.remove. The method names may be slightly different, but out of the box we’ve got methods for all four CRUD (Create, Read, Update, and Delete) operations right there.
继续阅读: %s




mongoose 建立数据库连接






mongooose is a mongodb object modeling for node.js
mongoose有两个连接数据库的方式(官方介绍):

  • monggose.connect
  • createConnection
  • 继续阅读: %s




    MongoDB 学习资源






    MongoDB的安装:

    MongoDB For Beginners: Introduction And Installation

    MongoDB 的基本操作(Add,update,delete)

    Getting Started with MongoDB

    传统SQL和MongoDB之间的比较

    Getting Started with MongoDB

    NodeJS 下的MongoDB model – mongoose

    mongoose quick start

    mongoose guide

    Mongoose Start Guide