cPrimaryKey::IsPrimaryKey() - rstoetter/libsqlphp GitHub Wiki

Method IsPrimaryKey( )

 public   boolean rstoetter\libsqlphp\cPrimaryKey::IsPrimaryKey(string $field_name)

The method IsPrimaryKey( ) returns true, if the field with the name $field_name is a primary key field

Example:

Arguments

  • $field_name string - <p>the name of the field</p>

Returns

boolean true, if the field with the name $field_name is a primary key field