cKEY_COLUMN_USAGE::HasForeignKey() - rstoetter/libsqlphp GitHub Wiki

Method HasForeignKey( )

 public   boolean rstoetter\libsqlphp\cKEY_COLUMN_USAGE::HasForeignKey(string $tablename)

The method HasForeignKey( ) returns true, if the table with the name $tablename has any foreign key

Example:

Arguments

  • $tablename string - <p>is the name of the table to examine</p>

Returns

boolean true, if the table with the name $tablename has any foreign key