Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
ManaPHP
Mvc
Model
MetadataInterface
getPrimaryKeyAttributes
ManaPHP\Mvc\Model\MetadataInterface::getPrimaryKeyAttributes PHP Method
MetadataInterface Interface Documentation
显示文件
Open project: manaphp/manaphp
getPrimaryKeyAttributes()
public
method
Returns an array of fields which are part of the primary key
public
getPrimaryKeyAttributes
(
string
| ManaPHP\Mvc\ModelInterface
$model
) :
array
$model
string
| ManaPHP\Mvc\ModelInterface
return
array
public function getPrimaryKeyAttributes($model);
MetadataInterface
getAttributes
getAutoIncrementAttribute
getColumnProperties
getNonPrimaryKeyAttributes
getPrimaryKeyAttributes
hasAttribute