Poštovani svi,
Da li biste mi mogli reći gde se može naći dokumentacija za MySQLdb modul za python? Našao sam PEP 249 koji objašnjava Python Database API, ne konkretno za MySQLdb. Da li je to to? Konkretno kod metoda cursor.description se kaže:
.description This read-only attribute is a sequence of 7-item sequences. Each of these sequences contains information describing one result column: (name, type_code, display_size, internal_size, precision, scale, null_ok). The first two items (name and type_code) are mandatory, the other five are optional and must be set to None if meaningfull values are not provided. This attribute will be None for operations that do not return rows or if the cursor has not had an operation invoked via the executeXXX() method yet. The type_code can be interpreted by comparing it to the Type Objects specified in the section below. Dakle ovaj atribut daje uređene sedmorke koje bliže objašnjavaju šta je pročitano. Da li se negde može naći objašnjenje šta koje polje u sedmorci znači i kojeg su tipa, odn. koje vrednosti vraćaju.
Zahvalan,
f