cKEY_COLUMN_USAGE::GetPrimaryAndForeignKeys() - rstoetter/libsqlphp GitHub Wiki
Method GetPrimaryAndForeignKeys( )
public mixed rstoetter\libsqlphp\cKEY_COLUMN_USAGE::GetPrimaryAndForeignKeys(string $table_name, array $ary)
- Namespace : rstoetter\libsqlphp
- Class name: cKEY_COLUMN_USAGE
- This method is defined by rstoetter\libsqlphp\cKEY_COLUMN_USAGE
The method GetPrimaryAndForeignKeys( ) returns an array of column names as strings for all fields in the table $table_name, which are primary keys or 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>