cKEY_COLUMN_USAGE::HasPrimaryKey() - rstoetter/libsqlphp GitHub Wiki
Method HasPrimaryKey( )
public boolean rstoetter\libsqlphp\cKEY_COLUMN_USAGE::HasPrimaryKey(string $tablename)
- Namespace : rstoetter\libsqlphp
- Class name: cKEY_COLUMN_USAGE
- This method is defined by rstoetter\libsqlphp\cKEY_COLUMN_USAGE
The method HasPrimaryKey( ) returns true, if the table with the name $tablename has any primary key field
Example:
Arguments
- $tablename string - <p>is the name of the table to examine</p>
Returns
boolean true, if the table with the name $tablename has any primary key field