primaryKey() public static method
Returns the primary key name for this AR class.
The default implementation will return the primary key as declared in the Sphinx index, which is associated with this AR class.
Note that an array should be returned even for a table with single primary key.
public static string[] primaryKey ( ) | ||
---|---|---|
return | string[] |
The primary keys of the associated Sphinx index. |
Please login to continue.