Coursera 笔记

Module 02 · Introducing MongoDB: An Open-Source NoSQL Database

Lab: Getting Started with MongoDB实验:MongoDB 入门

Coursera ↗

After completing this lab, you will be able to:
完成此实验后,您将能够:

  • Access the MongoDB server using the command-line interface
    使用命令行界面访问 MongoDB 服务器
  • Describe the process of listing and creating collections, which contain documents and databases, which contain one or more collections
    描述列出和创建集合的过程,集合包含文档,数据库包含一个或多个集合
  • Perform basic operations on a collection, such as inserting, counting, and listing documents
    对集合执行基本操作,例如插入、计数和列出文档

db.mycollection.insert({"color":"red","example":"wine"})

db.mycollection.insert({"color":"green","example":"hat"})

db.mycollection.insert({"color":"black","example":"eyes"})

📄 开始使用MongoDB.pdf