cKEY_COLUMN_USAGE::ExistsPrimaryKeyFor() - rstoetter/libsqlphp GitHub Wiki

Method ExistsPrimaryKeyFor( )

 public   boolean rstoetter\libsqlphp\cKEY_COLUMN_USAGE::ExistsPrimaryKeyFor(string $table_name, string $column_name)

The method ExistsPrimaryKeyFor returns true, if there exists a primary key for table $table_name and column $column_name

Example:

Arguments

  • $table_name string - <p>is the name of the table to examine</p>
  • $column_name string - <p>is the name of the column to examine</p>

Returns

boolean true, if there exists a primary key for table $table_name and column $column_name