Skip to content

Move docdb methods from MetadataDbClient to Client and create AnalysisDbClient #153

Open
@helen-m-lin

Description

@helen-m-lin

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 docdb Client.
  • Create new AnalysisDbClient that inherits from docdb Client.
  • New AnalysisDbClient should have default database as analysis. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions