a dictionary that lets you do d['a'] as well as d.a this is only used
to store a Row
|
|
__init__(self,
*args,
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
__delitem__(...)
x.__delattr__('name') <==> del x.name |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| as_dict(self,
datetime_to_str=False,
custom_types=None) |
source code
|
|
|
|
as_xml(self,
row_name='row',
colnames=None,
indent=' ') |
source code
|
|
|
|
as_json(self,
mode='object',
default=None,
colnames=None,
serialize=True,
**kwargs)
serializes the row to a JSON object kwargs are passed to .as_dict
method only "object" mode supported |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|