Home | Trees | Index | Help |
---|
Package MySQLdb :: Module connections |
|
This module implements connections for MySQLdb. Presently there is only one class: Connection. Others are unlikely. However, you might want to make your own subclasses. In most cases, you will probably override Connection.default_cursor with a non-standard Cursor class.
Classes | |
---|---|
Connection |
MySQL Database Connection Object |
Function Summary | |
---|---|
If cursor is not None, (errorclass, errorvalue) is appended to cursor.messages; otherwise it is appended to connection.messages. |
Function Details |
---|
defaulterrorhandler(connection, cursor, errorclass, errorvalue)If cursor is not None, (errorclass, errorvalue) is appended to cursor.messages; otherwise it is appended to connection.messages. Then errorclass is raised with errorvalue as the value. You can override this with your own error handler by assigning it to the instance. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007 | http://epydoc.sf.net |