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

Method __construct( )

 public   mixed rstoetter\libsqlphp\cPrimaryKey::__construct(string $tablename, \rstoetter\libsqlphp\cKEY_COLUMN_USAGE $obj_key_column_usage)

The constructor of cPrimaryKey

If no $obj_key_column_usage is given, then field names and values are set to empty

Example:

Arguments

  • $tablename string - <p>is the name of the table to explore</p>
  • $obj_key_column_usage rstoetter\libsqlphp\cKEY_COLUMN_USAGE - <p>an object of class cKEY_COLUMN_USAGE to take into consideration or null. Defaults to null</p>