当前位置:网站首页>Chapitre d'apprentissage mongodb: Introduction à la première leçon après l'installation
Chapitre d'apprentissage mongodb: Introduction à la première leçon après l'installation
2022-07-01 05:27:00 【Haanlen】
Démarragemongodb
Accès à l'installationmongodbDebinTable des matières
mongod --dbpath D:\frontapplication\mongodb\data\db
Entrez l'adressehttp://localhost:27017/

À ce stademongodbLe Service a commencé
InbinUn autre.DOSFenêtre,Démarrer la fenêtre de service ne pas fermer!!
Commandes d'exploitation liées à la base de données
Voir la base de données
show dbs;

Créer une base de données
use note_list;
Créer une bibliothèque lorsque la base de données n'existe pas,Basculer la base de données lorsqu'elle existe
Afficher le nom actuel de la base de données
db;

Vous pouvez voir que la nouvelle base de données n'existe pas dans la base de données , Pour voir si vous devez insérer une donnée dans la base de données 
Insérer une commande de données dans la base de données
db.note_list.insert({
title:'Hello Vue,Première leçon d'introduction',
date:'2022-03-01',
content: 'XXXXXXC'est génial.!'
});


Créer une collection
//db.createCollection(name, options)
db.createCollection('lists');
Voir la collection
show collections;

边栏推荐
- Set set detailed explanation
- Lock free concurrency of JUC (leguan lock)
- Use of STM32 expansion board temperature sensor and temperature humidity sensor
- Sqlplus connects using the instance name
- 如何开始学剪辑?零基础详细解析
- 担心侵权?必备无版权素材网站分享,不用担心视频剪辑缺素材
- HDU - 1069 Monkey and Banana(DP+LIS)
- Go learning notes (5) basic types and declarations (4)
- Programmers dig "holes" to get rich: if they find a loophole, they will be rewarded 12.72 million yuan
- Global and Chinese market of protection circuit modules 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

提高企业产品交付效率系列(1)—— 企业应用一键安装和升级

Ebpf cilium practice (2) - underlying network observability

Practice of combining rook CEPH and rainbow, a cloud native storage solution

Actual combat: basic use of Redux

Memtable for leveldb source code analysis

Thread process foundation of JUC

Dynamic verification of new form items in El form; El form verifies that the dynamic form V-IF does not take effect;

Typeorm framework
![[RootersCTF2019]babyWeb](/img/b4/aa8f8e107a9dacbace72d4717b1834.png)
[RootersCTF2019]babyWeb

Redis database deployment and common commands
随机推荐
Set集合詳細講解
Global and Chinese market of enterprise wireless LAN 2022-2028: Research Report on technology, participants, trends, market size and share
AcWing 884. Gauss elimination for solving XOR linear equations
2/15 (awk, awk conditions, awk processing design can perform additional tasks, and use awk array +for loop to realize advanced search)
Global and Chinese markets for soft ferrite cores 2022-2028: Research Report on technology, participants, trends, market size and share
Youqitong [vip] v3.7.2022.0106 official January 22 Edition
Global and Chinese markets of Ethernet communication modules 2022-2028: Research Report on technology, participants, trends, market size and share
How to start learning editing? Detailed analysis of zero basis
Explanation of characteristics of hydraulic slip ring
Use and principle of wait notify
In depth understanding of condition source code interpretation and analysis of concurrent programming
Global and Chinese market of protection circuit modules 2022-2028: Research Report on technology, participants, trends, market size and share
Rust hello-word
Application of industrial conductive slip ring
Tcp/ip explanation (version 2) notes / 3 link layer / 3.2 Ethernet and IEEE 802 lan/man standards
Flutter can refresh data every time the interface comes in
AcWing 885. Find the combination number I (recursive preprocessing)
Global and Chinese market of search engine optimization (SEO) software 2022-2028: Research Report on technology, participants, trends, market size and share
Series of improving enterprise product delivery efficiency (1) -- one click installation and upgrade of enterprise applications
[SRS] use of Vhost isolated stream: push / pull Stream Address