Bluz\Db\Row::getPrimaryKey PHP 메소드

getPrimaryKey() 보호된 메소드

Retrieves an associative array of primary keys, if it exists
protected getPrimaryKey ( ) : array
리턴 array
    protected function getPrimaryKey()
    {
        $primary = array_flip($this->getTable()->getPrimaryKey());
        $array = array_intersect_key($this->toArray(), $primary);
        return $array;
    }