def METHOD_NAME(self, cmd: str) -> Optional[Dict[str, Any]]:
    """Run the supplied database command using the mongo shell in the database container.
    Note:
        A list of results can be returned if the query to be evaluated returns a list of
        values.  mypy is strict about indexing Union[Dict, List], so in general we cannot
        properly type hint this return type without generating many false positives.
    """
    db_results = self.exec(
        self.get_pod_id(CombineApp.Component.Database),
        ["/usr/bin/mongosh", "--quiet", "CombineDatabase", "--eval", f"JSON.stringify({cmd})"],
    )
    result_str = db_results.stdout
    if result_str != "":
        result_dict: Dict[str, Any] = json.loads(result_str)
        return result_dict
    return None