def buildWhereClause(self, relationship, row):
        whereClause = []
        for i in range(0,len(relationship.childColumns)):
            value = getattr(row, relationship.parentColumns[i][0])
            whereClause.append( [relationship.childColumns[i][0], EQUAL, value] )
        return whereClause
util method used by reflectors. builds a where clause to link a row to another table.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/enterprise/reflector.py/Reflector.buildWhereClause