(self, header, line)
Lines as SQL insert statements.  The table name is "table"
        unless you specified a different one as the second parameter
        to the .mode command.
Lines as SQL insert statements.  The table name is "table"
        unless you specified a different one as the second parameter
        to the .mode command.
Lines as SQL insert statements . The table name is table unless you specified a different one as the second parameter to the . mode command .
def output_insert(self, header, line):
        """
        Lines as SQL insert statements.  The table name is "table"
        unless you specified a different one as the second parameter
        to the .mode command.
        """
        if header:
            return
        fmt = lambda x: self.colour.colour_value(x, apsw.format_sql_value(x))
        out = "INSERT INTO " + self._output_table + " VALUES(" + ",".join([fmt(l) for l in line]) + ");\n"
        self.write(self.stdout, out)
def output_insert ( self , header , line ) : if header : return fmt = lambda x : self . colour . colour_value ( x , apsw . format_sql_value ( x ) ) out = "INSERT INTO " + self . _output_table + " VALUES(" + "," . join ( [ fmt ( l ) for l in line ] ) + ");\n" self . write ( self . stdout , out )