db2.utils package

Module contents

class db2.utils.Converter

Base: object

classmethod get_converter(typename)
static get_types(stmt)
classmethod has_type(typename)
class db2.utils.DictIterator(stmt, *, convert_type=True)

Base: TupleIterator

fetch_method()

Returns a dictionary, indexed by column name, representing a row in a result set

class db2.utils.TupleIterator(stmt, *, convert_type=True)

Base: object

Classe para iterar sobre as respostas de um banco de dados DB2.

fetch_method()

Returns an tuple, indexed by column position, representing a row in a result set