diff --git a/pymilvus/milvus_client/milvus_client.py b/pymilvus/milvus_client/milvus_client.py index 072044efd..79430dcb1 100644 --- a/pymilvus/milvus_client/milvus_client.py +++ b/pymilvus/milvus_client/milvus_client.py @@ -970,3 +970,15 @@ def list_aliases( def using_database(self, db_name: str, **kwargs): conn = self._get_connection() conn.reset_db_name(db_name) + + def create_database(self, db_name: str, **kwargs): + conn = self._get_connection() + conn.create_database(db_name, **kwargs) + + def drop_database(self, db_name: str, **kwargs): + conn = self._get_connection() + conn.drop_database(db_name, **kwargs) + + def list_databases(self, **kwargs) -> List[str]: + conn = self._get_connection() + return conn.list_database(**kwargs)