class_docstr: This handler handles connection and execution of the Milvus statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Milvus","statements","."]
docstr: Connect to a Milvus database.
docstr_tok: ["Connect","to","a","Milvus","database","."]
code: def connect(self):
      """Connect to a Milvus database."""
      if self.is_connected is True:
          return
      try:
          connections.connect(**self._connection_data)
          self.is_connected = True
      except Exception as e:
          logger.error(f"Error connecting to Milvus client: {e}!")
          self.is_connected = False
  
imports: from collections import OrderedDict
  from typing import List, Optional
  import pandas
  from pymilvus import Collection, CollectionSchema, DataType, FieldSchema, connections, utility
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.vectordatabase_handler import FilterCondition, FilterOperator, TableField, VectorStoreHandler
  from mindsdb.utilities import log
label_desc: Use image node_id 3 for calling the MilvusHandler obj's underlying member method code with example usage: obj.connect() without return types