def assignKeyAttr(self, attrName, value):
        found = 0
        for keyColumn, type in self.rowKeyColumns:
            if keyColumn == attrName:
                found = 1
        if not found:
            raise DBError("%s is not a key columns." % attrName)
        self.__dict__[attrName] = value
Assign to a key attribute.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/enterprise/row.py/RowObject.assignKeyAttr