- Spring 5.0 Projects
- Nilang Patel
- 115字
- 2021-07-02 12:35:08
MongoDB data structure
Before using MongoDB, it is important to understand the schema and data structure used in it. Like a relational database, we need to first create a database in MongoDB. Along with the database, we also need to create a collection. You can consider a collection to be similar to the database table in RDBMS.
Connect the Compass (default: no credentials) and click on the CREATE DATABASE button, and you will see model windows as follows:

You need to give the Database Name and Collection Name and click on the CREATE DATABASE button from the model window. You can now insert the data for student collection into MongoDB.
推薦閱讀
- 智慧城市:大數(shù)據、互聯(lián)網時代的城市治理(第4版)
- EJB 3.1從入門到精通
- Aptana Studio Beginner's Guide
- 物聯(lián)網短距離無線通信技術應用與開發(fā)
- 物聯(lián)網(IoT)基礎:網絡技術+協(xié)議+用例
- 計算機網絡安全實訓教程(第二版)
- Learning Swift(Second Edition)
- 通信十年:擁抱互聯(lián)網
- 物聯(lián)網工程導論(第3版)
- 5G+區(qū)塊鏈
- Hands-On Microservices with Node.js
- 5G技術核心與增強:從R15到R17
- 華為HCIA-Datacom認證指南
- 區(qū)塊鏈社區(qū)運營手冊
- 智能物聯(lián)網:區(qū)塊鏈與霧計算融合應用詳解