Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Index::addColumnNames()

Description.  This method is used to add several column names to an index definition at one time.


As with the addColumn() and addColumnName() methods, the indexes are numbered in the order in which they were added. (However, this matters only for ordered indexes.)


void addColumnNames
      unsigned     noOfNames,
      const char** names

Parameters.  This method takes two parameters, listed here:

  • The number of columns and names noOfNames to be added to the index.

  • The names to be added (as a pointer to a pointer).

Return value.  None.