Documentation Home
MySQL 8.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 39.8Mb
PDF (A4) - 39.9Mb
Man Pages (TGZ) - 257.9Kb
Man Pages (Zip) - 364.9Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


25.6.17.37 NDBinfo foreign_keys 表

foreign_keys 表提供了关于 NDB 表的外键信息。该表具有以下列:

  • object_id

    外键的对象 ID

  • name

    外键名称

  • parent_table

    外键父表的名称

  • parent_columns

    父列的逗号分隔列表

  • child_table

    子表的名称

  • child_columns

    子列的逗号分隔列表

  • parent_index

    父索引的名称

  • child_index

    子索引的名称

  • on_update_action

    外键的 ON UPDATE 动作;其中之一为 No Action、Restrict、Cascade、Set Null 或 Set Default

  • on_delete_action

    外键的 ON DELETE 动作;其中之一为 No Action、Restrict、Cascade、Set Null 或 Set Default