Gets or creates a MongoDB database instance for the Hub database.
This function provides convenient access to the Hub database instance.
It uses the singleton client connection and returns the 'data' database
which contains the message events.
Returns Promise<Db>
Promise resolving to the MongoDB database instance
Gets or creates a MongoDB database instance for the Hub database.
This function provides convenient access to the Hub database instance. It uses the singleton client connection and returns the 'data' database which contains the message events.