getPrimaryKey() public method
Returns the primary key value(s).
public mixed getPrimaryKey ( $asArray = false ) | ||
---|---|---|
$asArray | boolean |
Whether to return the primary key value as an array. If |
return | mixed |
The primary key value. An array (column name => column value) is returned if the primary key is composite or |
Please login to continue.