cTableDescription::GetPrimaryKey() - rstoetter/libsqlphp GitHub Wiki
Method GetPrimaryKey( )
public mixed rstoetter\libsqlphp\cTableDescription::GetPrimaryKey(array $a_columns, boolean $add_table_name)
- Namespace : rstoetter\libsqlphp
- Class name: cTableDescription
- This method is defined by rstoetter\libsqlphp\cTableDescription
The method GetPrimaryKey( ) returns all column names, which are part of the primary key
Example:
Arguments
- $a_columns array - <p>an array of strings with the names of the columns, which belong to the primary key</p>
- $add_table_name boolean - <p>true, if the table name and a point (.) should be prefixed to the names. Defaults to false</p>