weaver.database.mongodb
¶
Module Contents¶
-
class
weaver.database.mongodb.
MongoDatabase
(: AnySettingsContainer, registry: bool, reset_connection=False)[source]¶ Return the unique identifier of db type matching settings.
Initialize self. See help(type(self)) for accurate signature.
-
get_store
(self: Union[AnyStr, StoreInterface, MongodbStores], store_type: Any, *store_args: Any, **store_kwargs)[source]¶ Retrieve a store from the database.
- Parameters
store_type – type of the store to retrieve/create.
store_args – additional arguments to pass down to the store.
store_kwargs – additional keyword arguments to pass down to the store.
-