Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Dictionary::createForeignKey()

Description.  Creates a ForeignKey object, given a reference to this object and an Object ID.


int createForeignKey
      const ForeignKey&,
      ObjectId* = 0,
      int flags = 0

Parameters.  A reference to the ForeignKey object, and an Object ID. An optional value flags, if used, allows the creation of the foreign key without performing any foreign key checks. If set, its value must be CreateFK_NoVerify (1).

Return value.  0 on success.

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.