Open
Description
Is your feature request related to a problem? Please describe.
Many methods in the MetadataDbClient are used for interfacing with docdb collections in general (rather than just for the metadata_index db). Users are using this client for other databases such as the analysis db.
It would be better to create a new AnalysisDbClient, and move shared methods to the docdb Client.
Describe the solution you'd like
- Move filter/insert/upsert/delete methods from
MetadataDbClient
to parent docdbClient
. - Create new
AnalysisDbClient
that inherits from docdbClient
. - New
AnalysisDbClient
should have default database asanalysis
. Default collection should not be set since there is not 1 main analysis collection.
Describe alternatives you've considered
Leaving it as is still allows users to use analysis collections, but the naming is confusing.
Additional context
Add any other context or screenshots about the feature request here.