当前位置:网站首页>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)
边栏推荐
- k8s运行oracle
- 如何解决数据库插入数据显示SQLSTATE[HY000]: General error: 1364 Field ‘xxxxx‘ doesn‘t have a default value错误
- Markdown displays pictures side by side
- Test the foundation of development, and teach you to prepare for a fully functional web platform environment
- [opencv] morphological filtering (2): open operation, morphological gradient, top hat, black hat
- [shell] summary of common shell commands and test judgment statements
- MySQL卸载文档-Windows版
- Redis (I) -- getting to know redis for the first time
- 可极大提升编程思想与能力的书有哪些?
- ICML 2022 | explore the best architecture and training method of language model
猜你喜欢

软件测试知识储备:关于「登录安全」的基础知识,你了解多少?

ICML 2022 | 探索语言模型的最佳架构和训练方法

dolphinscheduler3.x本地启动

HKUST & MsrA new research: on image to image conversion, fine tuning is all you need

2022Android面试必备知识点,一文全面总结

【OpenCV】形态学滤波(2):开运算、形态学梯度、顶帽、黑帽

Test the foundation of development, and teach you to prepare for a fully functional web platform environment

线性代数(一)

Apple CMS V10 template /mxone Pro adaptive film and television website template

Jmeter自带函数不够用?不如自己动手开发一个
随机推荐
Calculation model FPS
Redis (II) - redis General Command
What are the classic database questions in the interview?
k8s运行oracle
When we talk about immutable infrastructure, what are we talking about
How to use wechat cloud hosting or cloud functions for cloud development of unapp development applet
matlab / ENVI 主成分分析实现及结果分析
程序员的日常 | 每日趣闻
JVM command - jmap: export memory image file & memory usage
学习笔记|数据小白使用DataEase制作数据大屏
Jmeter自带函数不够用?不如自己动手开发一个
K8s running Oracle
Shared memory for interprocess communication
Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!
Leite smart home longhaiqi: from professional dimming to full house intelligence, 20 years of focus on professional achievements
Rk3399 platform development series explanation (WiFi) 5.52. Introduction to WiFi framework composition
Talking about reading excel with POI
A very good JVM interview question article (74 questions and answers)
C面试24. (指针)定义一个含有20个元素的double型数组a
2022Android面试必备知识点,一文全面总结