ManaPHP\Mvc\Model\Metadata::getNonPrimaryKeyAttributes PHP Method

getNonPrimaryKeyAttributes() public method

Returns an array of fields which are not part of the primary key
public getNonPrimaryKeyAttributes ( string | ManaPHP\Mvc\ModelInterface $model ) : array
$model string | ManaPHP\Mvc\ModelInterface
return array
    public function getNonPrimaryKeyAttributes($model)
    {
        return $this->_readMetaData($model)[self::MODEL_NON_PRIMARY_KEY];
    }