Returns a list of all encrypted index names accessible via the client at the set DBConfig.
std::vector<std::string> ListIndexes();
Returns
std::vector<std::string>: A list of index names.
Exceptions
std::runtime_error
Throws if the list of indexes could not be retrieved.
Example Usage
#include "cyborgdb_core/client.hpp"// ... Initialize the client ...auto indexes = client.ListIndexes();// Print the list of indexesfor (const auto& name : indexes) { std::cout << name << std::endl;}