cKEY_COLUMN_USAGE::IsPrimaryKey() - rstoetter/libsqlphp GitHub Wiki
Method IsPrimaryKey( )
public mixed rstoetter\libsqlphp\cKEY_COLUMN_USAGE::IsPrimaryKey(string $table_name, string $field_name)
- Namespace : rstoetter\libsqlphp
- Class name: cKEY_COLUMN_USAGE
- This method is defined by rstoetter\libsqlphp\cKEY_COLUMN_USAGE
The method IsPrimaryKey( ) returns true, if $field_name is part of the primary key of $table_name
Example:
Arguments
- $table_name string - <p>the name of the table</p>
- $field_name string - <p>the field name to check. The field name can be fully qualified</p>