(self, tbl, src_row)
Create sql for missed insert.
Create sql for missed insert.
Create sql for missed insert .
def got_missed_insert(self, tbl, src_row):
        """Create sql for missed insert."""
        self.cnt_insert += 1
        fld_list = self.common_fields
        fq_list = []
        val_list = []
        for f in fld_list:
            fq_list.append(skytools.quote_ident(f))
            v = unescape(src_row[f])
            val_list.append(skytools.quote_literal(v))
        q = "insert into %s (%s) values (%s);" % (
                tbl, ", ".join(fq_list), ", ".join(val_list))
        self.show_fix(tbl, q, 'insert')
def got_missed_insert ( self , tbl , src_row ) : self . cnt_insert += 1 fld_list = self . common_fields fq_list = [ ] val_list = [ ] for f in fld_list : fq_list . append ( skytools . quote_ident ( f ) ) v = unescape ( src_row [ f ] ) val_list . append ( skytools . quote_literal ( v ) ) q = "insert into %s (%s) values (%s);" % ( tbl , ", " . join ( fq_list ) , ", " . join ( val_list ) ) self . show_fix ( tbl , q , 'insert' )