Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Dictionary::listIndexes()

Description.  This method is used to obtain a List of all the indexes on a table, given the table's name. (See Section 2.3.14, “The List Class”.)


int listIndexes
      List&      list,
      const char* table
) const

Parameters.  listIndexes() takes two arguments, both of which are required:

  • A reference to the List that contains the indexes following the call to the method

  • The name of the table whose indexes are to be listed

Return value.  0 on success, -1 on failure.