ResultRows provide access to the fields of the row through index
lookup. However, for convenience both list indexes and dictionary keys
can be used. So the following all work:
|
__init__(self,
data,
views)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
__len__(self)
Return the number of cells in this row |
source code
|
|
|
__iter__(self)
Return the list view of the row, so each cell can be processed |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
to_d(self)
Return a dictionary view of this row |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|