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