Core Library - Python
Returns a list of all encrypted index names accessible via the client at the set DBConfig.
DBConfig
def list_indexes(self)
List[str]: A list of index names.
List[str]
RuntimeError
import cyborgdb_core as cyborgdb index_location = cyborgdb.DBConfig(location='redis', connection_string="redis://localhost") config_location = cyborgdb.DBConfig(location='redis', connection_string="redis://localhost") client = cyborgdb.Client(index_location=index_location, config_location=config_location) print(client.list_indexes()) # Example output: # ["index_one", "index_two", "index_three"]
Was this page helpful?