Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.37.11 Table::getColumn()

Description.  This method is used to obtain a column definition, given either the index or the name of the column.

Signature.  This method can be invoked using either the column ID or column name, as shown here:

Column* getColumn
    (
      const int AttributeId
    )

Column* getColumn
    (
      const char* name
    )

Parameters.  Either of: the column's index in the table (as it would be returned by the column's getColumnNo() method), or the name of the column.

Return value.  A pointer to the column with the specified index or name. If there is no such column, then this method returns NULL.


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