Nette\Database\Structure::getPrimaryKey PHP 메소드

getPrimaryKey() 공개 메소드

public getPrimaryKey ( $table )
    public function getPrimaryKey($table)
    {
        $this->needStructure();
        $table = $this->resolveFQTableName($table);
        if (!isset($this->structure['primary'][$table])) {
            return NULL;
        }
        return $this->structure['primary'][$table];
    }