- 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.
推薦閱讀
- 6G潛在關鍵技術(下冊)
- Hands-On Chatbots and Conversational UI Development
- Learning QGIS 2.0
- 網絡創新指數研究
- JBoss EAP6 High Availability
- SD-WAN架構與技術(第2版)
- 數字通信同步技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- Yii Application Development Cookbook(Second Edition)
- SAE原理與網絡規劃
- 網管第一課:網絡操作系統與配置管理
- 語音信號處理及Blackfin DSP實現
- INSTANT LinkedIn Customization How-to
- 無線傳感器網絡定位技術
- 一本書讀懂TCP/IP
- Hands-On Docker for Microservices with Python