Package MySQLdb
[show private | hide private]
[frames | no frames]

Package MySQLdb

MySQLdb - A DB API v2.0 compatible interface to MySQL.

This package is a wrapper around _mysql, which mostly implements the MySQL C API.

connect() -- connects to server

See the C API specification and the MySQL documentation for more info on other items.

For information on how MySQLdb handles type conversion, see the MySQLdb.converters module.


Submodules

Classes
DBAPISet A special type of set for which A == x is true if A is a DBAPISet and x is a member of that set.

Function Summary
  Binary(x)
  connect(*args, **kwargs)
Factory function for connections.Connection.
  Connect(*args, **kwargs)
Factory function for connections.Connection.
  Connection(*args, **kwargs)
Factory function for connections.Connection.

Variable Summary
str apilevel = '2.0'
DBAPISet BINARY = DBAPISet([249, 250, 251, 252])
DBAPISet DATE = DBAPISet([10, 14])
DBAPISet NUMBER = DBAPISet([0, 1, 3, 4, 5, 8, 9, 13])
str paramstyle = 'format'
DBAPISet ROWID = DBAPISet([])
DBAPISet STRING = DBAPISet([253, 254, 247])
int threadsafety = 1                                                                     
DBAPISet TIME = DBAPISet([11])
DBAPISet TIMESTAMP = DBAPISet([12, 7])
str __revision__ = '491'
DBAPISet DATETIME = DBAPISet([12, 7])

Function Details

connect(*args, **kwargs)

Factory function for connections.Connection.

Connect(*args, **kwargs)

Factory function for connections.Connection.

Connection(*args, **kwargs)

Factory function for connections.Connection.


Variable Details

apilevel

Type:
str
Value:
'2.0'                                                                  

BINARY

Type:
DBAPISet
Value:
DBAPISet([249, 250, 251, 252])                                         

DATE

Type:
DBAPISet
Value:
DBAPISet([10, 14])                                                     

NUMBER

Type:
DBAPISet
Value:
DBAPISet([0, 1, 3, 4, 5, 8, 9, 13])                                    

paramstyle

Type:
str
Value:
'format'                                                               

ROWID

Type:
DBAPISet
Value:
DBAPISet([])                                                           

STRING

Type:
DBAPISet
Value:
DBAPISet([253, 254, 247])                                              

threadsafety

Type:
int
Value:
1                                                                     

TIME

Type:
DBAPISet
Value:
DBAPISet([11])                                                         

TIMESTAMP

Type:
DBAPISet
Value:
DBAPISet([12, 7])                                                      

__revision__

Type:
str
Value:
'491'                                                                  

DATETIME

Type:
DBAPISet
Value:
DBAPISet([12, 7])                                                      

Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007 http://epydoc.sf.net