Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Module dtuple :: Class TupleDescriptor |
|
Describes a return tuple from a DB-API fetch*() method. Instances of this class are used to describe database tuples (which are typically instances of DatabaseTuple or one of its derivative classes). These instances specify the column names, formats, lengths, and other relevant information about the items in a particular tuple. An instance is typically shared between many database tuples (such as those returned by a single query). Note: the term database tuple is rather specific; in actuality the tuple may have come from non-database sources and/or generated by a process wholly unrelated to databases. Note again: I'm open for new names for this and the DatabaseTuple class and concept :-)
Method Summary | |
---|---|
TupleDescriptor constructor. | |
Returns the number of elements in the data object. | |
__repr__(self)
| |
__str__(self)
|
Method Details |
---|
__init__(self,
desc)
|
__len__(self)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:04 2003 | http://epydoc.sf.net |