Package lemon :: Package db :: Package drivers :: Module mysql :: Class mysqlConnection
[show private | hide private]
[frames | no frames]

Class mysqlConnection

baseConnection --+
                 |
                mysqlConnection


Method Summary
  __init__(self, database, user, password, host, socket, port)
Set up the database connection...
  cursor(self, autoExecute, fetchMode, autoConvert, convertMode, colTypesName, types)
Return our custom cursor rather than the default connection cursor.
    Inherited from baseConnection
  __getattr__(self, name)
Delegate unrecognised methods/attributes to the cursor object.

Method Details

__init__(self, database, user='', password='', host='', socket='', port='')
(Constructor)

Set up the database connection
Overrides:
lemon.db.drivers.base.baseConnection.__init__

cursor(self, autoExecute=True, fetchMode='tuple', autoConvert=False, convertMode='description', colTypesName='ColTypes', types={})

Return our custom cursor rather than the default connection cursor.
Overrides:
lemon.db.drivers.base.baseConnection.cursor

Generated by Epydoc 2.0 on Mon Nov 10 15:08:14 2003 http://epydoc.sf.net