Add an option so that the data of the desired collection can be saved to a separate database.
For example, if the database connection settings are specified for the collection, then the data will go to the specified database.