Mvc\Model\MetaData::getPrimaryKeyAttributes

public getPrimaryKeyAttributes (Phalcon\Mvc\ModelInterface $model)

Returns an array of fields which are part of the primary key

print_r($metaData->getPrimaryKeyAttributes(new Robots()));
doc_Phalcon
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.