Name

foreign_key_info( )

Synopsis

$database_handle->foreign_key_info(
                         $pk_catalog, $pk_schema, $pk_table, 
                         $pk_catalog, $pk_schema, $pk_table, 
                         $fk_catalog, $fk_schema, $fk_table
                         $pk_catalog, $pk_schema, $pk_table, 
                         $fk_catalog, $fk_schema, $fk_table
                         [, \%attributes])

This returns a handle for fetching information about foreign keys in a given table.

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.