Viewing file: MySQLdb-module.html (21.73 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
MySQLdb
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 |
-
connections : This module implements connections for MySQLdb.
-
constants
-
CLIENT : MySQL CLIENT constants
-
CR : MySQL Connection Errors
-
ER : MySQL ER Constants
-
FIELD_TYPE : MySQL FIELD_TYPE Constants
-
FLAG : MySQL FLAG Constants
-
REFRESH : MySQL REFRESH Constants
-
cursors : MySQLdb Cursors
-
converters : MySQLdb type conversion module
-
pytimes : Use Python datetime module to handle date and time columns.
-
sets : sets module
-
stringtimes : Use strings to handle date and time columns as a last resort.
-
times : times module
|
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(252, 251, 250, 249)
|
DBAPISet |
DATE = DBAPISet(10, 14)
|
DBAPISet |
NUMBER = DBAPISet(0, 5, 4, 9, 3, 8, 1, 13)
|
str |
paramstyle = 'format'
|
DBAPISet |
ROWID = DBAPISet()
|
DBAPISet |
STRING = DBAPISet(1, 247, 254, 253)
|
int |
threadsafety = 1 |
DBAPISet |
TIME = DBAPISet(11,)
|
DBAPISet |
TIMESTAMP = DBAPISet(7, 12)
|
tuple |
version_info = (1, 1, 10, 'final', 1)
|
str |
__author__ = 'Andy Dustman <andy@dustman.net>'
|
str |
__revision__ = '1.36'
|
DBAPISet |
DATETIME = DBAPISet(7, 12)
|
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(252, 251, 250, 249)
|
|
NUMBER
-
- Type:
-
DBAPISet
- Value:
DBAPISet(0, 5, 4, 9, 3, 8, 1, 13)
|
|
paramstyle
-
- Type:
-
str
- Value:
|
STRING
-
- Type:
-
DBAPISet
- Value:
DBAPISet(1, 247, 254, 253)
|
|
threadsafety
-
- Type:
-
int
- Value:
|
version_info
-
- Type:
-
tuple
- Value:
|
__author__
-
- Type:
-
str
- Value:
'Andy Dustman <andy@dustman.net>'
|
|
__revision__
-
- Type:
-
str
- Value:
|
|