gluon :: sql :: SQLRows :: Class SQLRows
[hide private]
[frames] | no frames]

Class SQLRows

source code

object --+
         |
        SQLRows

A wrapper for the retun value of a select. It basically represents a table. It has an iterator and each row is represented as a dictionary.

Instance Methods [hide private]
 
__init__(self, db, response, *colnames)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__len__(self) source code
 
__getitem__(self, i) source code
 
__iter__(self)
iterator over records
source code
 
__str__(self)
serializes the table into a csv file
source code
 
xml(self)
serializes the table using sqlhtml.SQLTABLE (if present)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, db, response, *colnames)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

serializes the table into a csv file

Overrides: object.__str__