| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DybPython::db::CSVFormat Class Reference

List of all members.

Public Member Functions

def __str__

Detailed Description

Provides the format string to create the CSV line
appropriate for the field types of the low level query result description 
It looks something like::

    %s,"%s","%s",%s,%s,%s,%s,%s,"%s","%s"

Usage example::

    llc = _mysql.connection(...) 
    llc.query("select * from ...")
    result = llc.store_result()
    csvf = CSVFormat( result.describe() ) 
    for row in result.fetch_row(0):
        print str(csvf) % tuple(row)

Definition at line 206 of file db.py.


Member Function Documentation

def DybPython::db::CSVFormat::__str__ (   self  ) 

Definition at line 208 of file db.py.

00220                                       :
            print str(csvf) % tuple(row)


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:13:02 2011 for DybPython by doxygen 1.4.7