cTableConstraints::IsForeignKey() - rstoetter/libsqlphp GitHub Wiki

Method IsForeignKey( )

 public   boolean rstoetter\libsqlphp\cTableConstraints::IsForeignKey(string $column_name)

The method IsForeignKey( ) returns true, if the column with the name $column_name belongs to a foreign key

Example:

Arguments

  • $column_name string - <p>column_name the name of the column to examine</p>

Returns

boolean true, if the column with the name $column_name belongs to a foreign key