当前位置:网站首页>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)
边栏推荐
- Oracle迁移中关于大容量表使用数据泵(expdp、impdp)导出导入容易出现的问题和注意事项
- Markdown displays pictures side by side
- Bypass open_ basedir
- 程序员的日常 | 每日趣闻
- Change the original style of UI components
- 谷歌 Chrome 浏览器发布 103.0.5060.114 补丁修复 0-day 漏洞
- JMeter's own functions are not enough? Why don't you develop one yourself
- Test the foundation of development, and teach you to prepare for a fully functional web platform environment
- QT console output in GUI applications- Console output in a Qt GUI app?
- 屏幕程序用串口无法调试情况
猜你喜欢

Find duplicate email addresses

Developers don't miss it! Oar hacker marathon phase III chain oar track registration opens

Open the blue screen after VMware installation

693. Travel sequencing

Several key steps of software testing, you need to know

雷特智能家居龙海祁:从专业调光到全宅智能,20年专注成就专业

Handling hardfault in RT thread

基于ADAU1452的DSP及DAC音频失真分析

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

CloudCompare-点对选取
随机推荐
缓存在高并发场景下的常见问题
Bypass open_ basedir
POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...
uniapp开发小程序如何使用微信云托管或云函数进行云开发
屏幕程序用串口无法调试情况
How to use wechat cloud hosting or cloud functions for cloud development of unapp development applet
Experience sharing of contribution of "management world"
2022Android面试必备知识点,一文全面总结
Oracle迁移中关于大容量表使用数据泵(expdp、impdp)导出导入容易出现的问题和注意事项
Calculation model FPS
Redis(一)——初识Redis
直击2022ECDC萤石云开发者大会:携手千百行业加速智能升级
Several key steps of software testing, you need to know
JVM 全面深入
Force deduction 62 different paths (the number of all paths from the upper left to the lower right of the matrix) (dynamic planning)
基于ADAU1452的DSP及DAC音频失真分析
The difference between string constants and string objects when allocating memory
CloudCompare-点对选取
Ctfshow-- common posture
生活中的开销,怎么记账合适