Package web2py :: Package gluon :: Module dal :: Class Row
[hide private]
[frames] | no frames]

Class Row

source code

object --+    
         |    
      dict --+
             |
            Row

a dictionary that lets you do d['a'] as well as d.a this is only used to store a Row

Instance Methods [hide private]
 
__getitem__(self, key)
x[y]
source code
 
__call__(self, key) source code
 
__setitem__(self, key, value)
x[i]=y
source code
 
__getattr__(self, key) source code
 
__setattr__(self, key, value)
x.__setattr__('name', value) <==> x.name = value
source code
 
__repr__(self)
repr(x)
source code
 
__int__(self) source code
 
__eq__(self, other)
x==y
source code
 
__ne__(self, other)
x!=y
source code
 
__copy__(self) source code
 
as_dict(self, datetime_to_str=True) source code

Inherited from dict: __cmp__, __contains__, __delitem__, __ge__, __getattribute__, __gt__, __hash__, __init__, __iter__, __le__, __len__, __lt__, __new__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getitem__(self, key)
(Indexing operator)

source code 
x[y]
Overrides: dict.__getitem__
(inherited documentation)

__setitem__(self, key, value)
(Index assignment operator)

source code 
x[i]=y
Overrides: dict.__setitem__
(inherited documentation)

__setattr__(self, key, value)

source code 
x.__setattr__('name', value) <==> x.name = value
Overrides: object.__setattr__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: dict.__repr__
(inherited documentation)

__eq__(self, other)
(Equality operator)

source code 
x==y
Overrides: dict.__eq__
(inherited documentation)

__ne__(self, other)

source code 
x!=y
Overrides: dict.__ne__
(inherited documentation)