ExperimentSession.db#
- property ExperimentSession.db[source]#
Database object of the main mongo saving agent.
You can use this property to access multiple collections in the used database, if your monogo saving agent is connected through an account with the necessary privileges.
Note
This is the database object, which can contain multiple collections of documents. Data is always saved to a collection in a database, not to a database directly.
See also
db_main
returns the collection, to which the main mongo saving agent writes its data.- Returns
A database object. If no mongo saving agent is present in the experiment, None is returned.
- Return type
pymongo.database.Database