mongotransactions:用于与mongoDB进行交互的python工具包

时间:2024-02-28 17:15:06
【文件属性】:

文件名称:mongotransactions:用于与mongoDB进行交互的python工具包

文件大小:20KB

文件格式:ZIP

更新时间:2024-02-28 17:15:06

Python

mongo交易 围绕mongoDB事务和其他pymongo操作的包装器 基本命令 from mongotransactions import Database database = Database ( 'mongodb+srv://username:password@host' ) # by default the class will use the first database the uri has access to you can change it with database . set_database ( 'db_name' ) # grab a collection my_collection = database . get_collection ( 'my_collection' ) # then you can do your normal operations


【文件预览】:
mongotransactions-main
----.vscode()
--------settings.json(85B)
----requirements.txt(45B)
----.idea()
--------mongo-toolkit.iml(284B)
--------workspace.xml(2KB)
--------inspectionProfiles()
--------modules.xml(278B)
--------vcs.xml(180B)
----LICENSE(34KB)
----setup.py(729B)
----README.md(2KB)
----mongotransactions()
--------__init__.py(92B)
--------database.py(3KB)
----.gitignore(2KB)

网友评论