Returns the primary key columns.

        :rtype: list

def get_primary_key_columns(self):
        """
        Returns the primary key columns.

        :rtype: list
        """
        if not self.has_primary_key():
            raise DBALException('Table "%s" has no primary key.' % self.get_name())

        return self.get_primary_key().get_columns()