redis\ActiveRecord primaryKey()

primaryKey() public static method

Returns the primary key name(s) for this AR class.

This method should be overridden by child classes to define the primary key.

Note that an array should be returned even when it is a single primary key.

public static string[] primaryKey ( )
return string[]

The primary keys of this record.

doc_Yii
2016-10-30 17:10:41
Comments
Leave a Comment

Please login to continue.