摘要: client = pymongo.MongoClient('mongodb://用户名:密码@主机IP:端口号', directConnection=True, serverSelectionTimeoutMS=2000) col = client['数据库']['集合名'] print(col.f 阅读全文
posted @ 2022-03-28 17:26 弩哥++ 阅读(273) 评论(0) 推荐(0)