cTableConstraints::IsPrimaryKey() - rstoetter/libsqlphp GitHub Wiki
Method IsPrimaryKey( )
public boolean rstoetter\libsqlphp\cTableConstraints::IsPrimaryKey(string $column_name)
- Namespace : rstoetter\libsqlphp
- Class name: cTableConstraints
- This method is defined by rstoetter\libsqlphp\cTableConstraints
The method IsPrimaryKey( ) returns true, if the column with the name $column_name belongs to the primary key
Example:
Arguments
- $column_name string - <p>column_name the name of the column to examine</p>
Returns
boolean true, if the column with the name $column_name belongs to the primary key