cTableConstraints::GetForeignKeyNames() - rstoetter/libsqlphp GitHub Wiki
Method GetForeignKeyNames( )
public mixed rstoetter\libsqlphp\cTableConstraints::GetForeignKeyNames(string $field_name, array $a_key_names)
- Namespace : rstoetter\libsqlphp
- Class name: cTableConstraints
- This method is defined by rstoetter\libsqlphp\cTableConstraints
The method GetForeignKeyNames( ) returns an array $a_key_names with the names of the foreign keys the column $field_name is participating
Example:
Arguments
- $field_name string - <p>the name of the column to test for a foreign key</p>
- $a_key_names array - <p>a string array with the constraint_names the column $field_name is part of</p>