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.
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])
|
connect(*args,
**kwargs)
Factory function for connections.Connection.
-
|
Connect(*args,
**kwargs)
Factory function for connections.Connection.
-
|
Connection(*args,
**kwargs)
Factory function for connections.Connection.
-
|
apilevel
-
- Type:
-
str
- Value:
|
BINARY
-
- Type:
-
DBAPISet
- Value:
DBAPISet([249, 250, 251, 252])
|
|
DATE
-
- Type:
-
DBAPISet
- Value:
|
NUMBER
-
- Type:
-
DBAPISet
- Value:
DBAPISet([0, 1, 3, 4, 5, 8, 9, 13])
|
|
paramstyle
-
- Type:
-
str
- Value:
|
ROWID
-
- Type:
-
DBAPISet
- Value:
|
STRING
-
- Type:
-
DBAPISet
- Value:
DBAPISet([253, 254, 247])
|
|
threadsafety
-
- Type:
-
int
- Value:
|
TIME
-
- Type:
-
DBAPISet
- Value:
|
TIMESTAMP
-
- Type:
-
DBAPISet
- Value:
|
__revision__
-
- Type:
-
str
- Value:
|
DATETIME
-
- Type:
-
DBAPISet
- Value:
|