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

Method GetForeignKeyFields( )

 public   mixed rstoetter\libsqlphp\cKEY_COLUMN_USAGE::GetForeignKeyFields(string $table_name, array $ary, boolean $verwende_nur_pk)

The method GetForeignKeyFields returns an array of column names as strings for all fields in the table $table_name, which mentioned as foreign keys

Example:

Arguments

  • $table_name string - <p>is the name of the table to examine</p>
  • $ary array - <p>an array of column names as strings</p>
  • $verwende_nur_pk boolean - <p>if true, then only fields are collected, which are primary keys, too. Defaults to false.</p>