Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Event::addEventColumns()

Description.  This method is used to enable event detection on several columns at the same time. You must use the names of the columns.


As with addEventColumn(), you must invoke Dictionary::createEvent() before any errors will be detected. See Section, “Dictionary::createEvent()”.


void addEventColumns
      int          n,
      const char** columnNames

Parameters.  This method requires two arguments, listed here:

  • The number of columns n (an integer).

  • The names of the columns columnNames—this must be passed as a pointer to a character pointer.

Return value.  None.