MongoDB连接
1.
import pymongo
client = pymongo.MongoClient(host='localhost',port=27017)
2.
client=MongoClient('mongodb://localhost:27017/')
posted on 2019-01-09 16:48 yasmine_yang 阅读(147) 评论(0) 收藏 举报
1.
import pymongo
client = pymongo.MongoClient(host='localhost',port=27017)
2.
client=MongoClient('mongodb://localhost:27017/')
posted on 2019-01-09 16:48 yasmine_yang 阅读(147) 评论(0) 收藏 举报