博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【MongoDB】Serveral common command of MongoDb
阅读量:4169 次
发布时间:2019-05-26

本文共 774 字,大约阅读时间需要 2 分钟。

In the recent days, since the overwork made me exhaused, on arrival to home I will go to bed, which leads to loss of blogs that should have been written in the past days. 

Now  I make a summay to all the commond of operating mongoDB.

First, you should run the mongoDB server. if the following picture exists, it means you has run the mongoDB successfully. 

Secondly,after run the mongodb server, next should execute the mongodb client. 

thirdly, we input the db.help command, we will find all the method to operate database/

In the above picture, it;s generally used in the development.

Notes, in the mongodb, there is no command like mysql ('create database xxx'), instead use command 'use dbname' to create a new db;

Lastly I set a simple exampe to show usage of some command.

你可能感兴趣的文章
python 矩阵转置
查看>>
python 使用zip合并相邻的列表项
查看>>
python iter( )函数
查看>>
Python 迭代器(iterator)
查看>>
Python enumerate类
查看>>
leetcode 99 Recover Binary Search Tree (python)
查看>>
linux echo 向文件中追加信息
查看>>
区块链问与答
查看>>
css常用小知识点
查看>>
js常用小知识点
查看>>
Java常用小知识点
查看>>
Java小知识点之lambda
查看>>
开源Java诊断工具Arthas简单使用说明
查看>>
深入理解Mysql索引底层数据结构与算法(二)
查看>>
IDEA自动去掉无用的import
查看>>
js数字转换成汉字
查看>>
MySQL不同存储引擎底层真正存储结构
查看>>
MySQL存储引擎底层常见面试题
查看>>
MySQL Explain执行计划详解
查看>>
索引最佳实践具体实例
查看>>