Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual ForeignKey::setParent()

Description.  Set the parent table of a ForeignKey, given a reference to the table, and optionally, an index to use as the foreign key.


void setParent
      const Table&,
      const Index* index = 0,
      const Column* cols[] = 0

Parameters.  A reference to a Table. Optionally, an index using the indicated column or columns.

Return value.  None.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.