Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

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

Important

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

Signature. 

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.