Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

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

Signature. 

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
Sign Up Login You must be logged in to post a comment.