Defined in:
yii\
Returns the primary key name(s) for this AR class.
Note that an array should be returned even when the record only has a single primary key.
For the primary key value see getPrimaryKey() instead.
| public abstract static primaryKey( ): string[] | ||
| return | string[] |
The primary key name(s) for this AR class. |
|---|---|---|
public static function primaryKey();