Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.11.4 Index::addColumnNames()

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

Note

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

Signature. 

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.


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