Exemplo n.º 1
0
    def __init__(self, options):
        Wrapper.__init__(self, options)

        if options.formatter:
            Writer.set(options.formatter(options))
        else:
            Writer.set(StatementActivityWriter(options))
Exemplo n.º 2
0
    def __init__(self, options):
        Wrapper.__init__(self, options)

        if options.formatter:
            Writer.set(options.formatter(options))
        else:
            Writer.set(ExecuteWriter())
Exemplo n.º 3
0
    def __init__(self, options):
        Wrapper.__init__(self, options)

        if options.formatter:
            Writer.set(options.formatter(options))
        else:
            Writer.set(SqlInsertWriter(options))
Exemplo n.º 4
0
    def __init__(self, options):
        Wrapper.__init__(self, options)

        if options.formatter:
            Writer.set(options.formatter())
        else:
            Writer.set(SimplifiedWriter())
Exemplo n.º 5
0
    def __init__(self, left, right):
        Wrapper.__init__(self, left)

        self.left = left
        self.right = right

        if left.formatter:
            Writer.set(left.formatter(left, right))
        else:
            Writer.set(DiffWriter(left, right))