(self, src_row, dst_row)
return 0
Compare primary keys of the rows.
        
        Returns 1 if src > dst, -1 if src < dst and 0 if src == dst
Compare primary keys of the rows.
        
        Returns 1 if src > dst, -1 if src < dst and 0 if src == dst
Compare primary keys of the rows . Returns 1 if src > dst - 1 if src < dst and 0 if src == dst
def cmp_keys(self, src_row, dst_row):
        """Compare primary keys of the rows.
        
        Returns 1 if src > dst, -1 if src < dst and 0 if src == dst"""

        # None means table is done.  tag it larger than any existing row.
        if src_row is None:
            if dst_row is None:
                return 0
            return 1
        elif dst_row is None:
            return -1

        for k in self.pkey_list:
            v1 = src_row[k]
            v2 = dst_row[k]
            if v1 < v2:
                return -1
            elif v1 > v2:
                return 1
        return 0
def cmp_keys ( self , src_row , dst_row ) : # None means table is done.  tag it larger than any existing row. if src_row is None : if dst_row is None : return 0 return 1 elif dst_row is None : return - 1 for k in self . pkey_list : v1 = src_row [ k ] v2 = dst_row [ k ] if v1 < v2 : return - 1 elif v1 > v2 : return 1 return 0