public function getLocalPrimaryKeys()
    {
        $cols = [];
        $localCols = $this->getLocalColumnObjects();

        foreach ($localCols as $localCol) {
            if ($localCol->isPrimaryKey()) {
                $cols[] = $localCol;
            }
        }

        return $cols;
    }
public function getLocalPrimaryKeys()
    {
        $cols = [];
        $localCols = $this->getLocalColumnObjects();

        foreach ($localCols as $localCol) {
            if ($localCol->isPrimaryKey()) {
                $cols[] = $localCol;
            }
        }

        return $cols;
    }
public function getLocalPrimaryKeys ( ) { $ cols = [ ] ; $ localCols = $ this -> getLocalColumnObjects ( ) ; foreach ( $ localCols as $ localCol ) { if ( $ localCol -> isPrimaryKey ( ) ) { $ cols [ ] = $ localCol ; } } return $ cols ; }
Returns all local columns which are also a primary key of the local table.

@return Column[]
Returns all local columns which are also a primary key of the local table .