当前位置:网站首页>Install mongodb database
Install mongodb database
2022-07-07 06:26:00 【Fan zhidu】
Reference resources Windows Platform installation MongoDB | Novice tutorial
(1) The first step is to install monogodb database
Note that there is a tick in the lower left corner to install graphics software during installation. Be sure to remove . meanwhile , The global environment variable configuration must be set .
(2) The second installation navicat Graphical interface ( To baidu ), Operate the graphics management software after downloading :
stay Navicat for MongoDB Using document
operation mongoDb database
Refer to the website :python operation MongoDB database _ I love my blog very much -CSDN Blog _python operation mongodb database
import pymongo
client = pymongo.MongoClient(host='localhost',port=27017)
db = client['jd']
collection = db['ds']
book_info = {
'id':'9568',
'state':'MA'
}
result = collection.insert_one(book_info)
print(result)
print(result.inserted_id)
边栏推荐
- C language interview to write a function to find the first occurrence of substring m in string n.
- 【OpenCV】形态学滤波(2):开运算、形态学梯度、顶帽、黑帽
- Calculation model FPS
- Talking about reading excel with POI
- C language interview to write a function to find the first public string in two strings
- PostgreSQL database timescaledb function time_ bucket_ Gapfill() error resolution and license replacement
- Niuke Xiaobai monthly race 52 E. sum logarithms in groups (two points & inclusion and exclusion)
- Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!
- Three updates to build applications for different types of devices | 2022 i/o key review
- Redis (I) -- getting to know redis for the first time
猜你喜欢
Markdown 并排显示图片
Subghz, lorawan, Nb IOT, Internet of things
ETCD数据库源码分析——从raftNode的start函数说起
Shared memory for interprocess communication
软件测试的几个关键步骤,你需要知道
JVM command - jmap: export memory image file & memory usage
[SOC FPGA] custom IP PWM breathing lamp
The difference between string constants and string objects when allocating memory
window下面如何安装swoole
「解析」FocalLoss 解决数据不平衡问题
随机推荐
PostgreSQL database timescaledb function time_ bucket_ Gapfill() error resolution and license replacement
c语言(结构体)定义一个User结构体,含以下字段:
软件测试到了35岁,真的就干不动了吗?
蚂蚁庄园安全头盔 7.8蚂蚁庄园答案
Wechat applet hides the progress bar component of the video tag
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
Array proof during st table preprocessing
"Parse" focalloss to solve the problem of data imbalance
Doctoral application | Professor Hong Liang, Academy of natural sciences, Shanghai Jiaotong University, enrolls doctoral students in deep learning
dolphinscheduler3.x本地启动
Ant manor safety helmet 7.8 ant manor answer
How to set up in touch designer 2022 to solve the problem that leap motion is not recognized?
C语言面试 写一个函数查找两个字符串中的第一个公共字符串
Dc-7 target
Change the original style of UI components
LM小型可编程控制器软件(基于CoDeSys)笔记二十三:伺服电机运行(步进电机)相对坐标转换为绝对坐标
线性代数(一)
开发者别错过!飞桨黑客马拉松第三期链桨赛道报名开启
HKUST & MsrA new research: on image to image conversion, fine tuning is all you need
Party A's requirements for those who have lost 800 yuan