Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.4.38 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”.)

Signature. 

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.


User Comments
Sign Up Login You must be logged in to post a comment.