Skip to content

MongoDB Database

flowdapt.lib.database.storage.mdb.MongoDBStorage

Bases: BaseStorage

MongoDB storage implementation.

Parameters:

Name Type Description Default
uri str

MongoDB connection URI. Typically in the form of mongodb://<username>:<password>@<host>:<port>/<database>.

required
db_name str

Name of the database to use.

required
kwargs

Additional keyword arguments to pass to the :class:motor.motor_asyncio.AsyncIOMotorClient constructor.

{}