db\ActiveRecordInterface primaryKey()

primaryKey() public abstract static method

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 string[] primaryKey ( )
return string[]

The primary key name(s) for this AR class.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.