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

Method GetPrimaryKeyFieldsWithoutForeignKeys( )

 public   mixed rstoetter\libsqlphp\cTableConstraints::GetPrimaryKeyFieldsWithoutForeignKeys(array $a_pk_ohne_fk)

The method GetPrimaryKeyFieldsWithoutForeignKeys( ) returns in the array $a_pk_ohne_fk all columns which are primary keys and not foreign keys

Example:

Arguments

  • $a_pk_ohne_fk array - <p>is a string array with the field names of the columns which are primary keys and not foreign keys</p>