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

Method ExistsField( )

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

The method ExistsField returns true, if there exists a table $table_name with column $column_name ( whether there is a key column with these components)

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 table $table_name with column $column_name