Nom de la classe | Description |
connection | Returns a MYSQL connection object. Exclusive use of [extrait de connection.__doc__] |
DBAPISet | A special type of set for which A == x is true if A is a [extrait de DBAPISet.__doc__] |
result | result(connection, use=0, converter={}) -- Result set from a query. [extrait de result.__doc__] |
Nom de la classe d'exception | Description |
DatabaseError | Exception raised for errors that are related to the [extrait de DatabaseError.__doc__] |
DataError | Exception raised for errors that are due to problems with the [extrait de DataError.__doc__] |
Error | Exception that is the base class of all other error exceptions [extrait de Error.__doc__] |
IntegrityError | Exception raised when the relational integrity of the database [extrait de IntegrityError.__doc__] |
InterfaceError | Exception raised for errors that are related to the database [extrait de InterfaceError.__doc__] |
InternalError | Exception raised when the database encounters an internal [extrait de InternalError.__doc__] |
MySQLError | Exception related to operation with MySQL. [extrait de MySQLError.__doc__] |
NotSupportedError | Exception raised in case a method or database API was used [extrait de NotSupportedError.__doc__] |
OperationalError | Exception raised for errors that are related to the database's [extrait de OperationalError.__doc__] |
ProgrammingError | Exception raised for programming errors, e.g. table not found [extrait de ProgrammingError.__doc__] |
Warning | Exception raised for important warnings like data truncations [extrait de Warning.__doc__] |
Signature de la fonction | Description |
Binary(x) | |
Connect(*args, **kwargs) | Factory function for connections.Connection. [extrait de Connect.__doc__] |
DateFromTicks(ticks) | Convert UNIX ticks into a date instance. [extrait de DateFromTicks.__doc__] |
debug | Does a DBUG_PUSH with the given string. [extrait de debug.__doc__] |
escape | escape(obj, dict) -- escape any special characters in object obj [extrait de escape.__doc__] |
escape_string | escape_string(s) -- quote any SQL-interpreted characters in string s. [extrait de escape_string.__doc__] |
get_client_info | get_client_info() -- Returns a string that represents [extrait de get_client_info.__doc__] |
string_literal | string_literal(obj) -- converts object obj into a SQL string literal. [extrait de string_literal.__doc__] |
test_DBAPISet_set_equality() | |
test_DBAPISet_set_equality_membership() | |
test_DBAPISet_set_inequality() | |
test_DBAPISet_set_inequality_membership() | |
TimeFromTicks(ticks) | Convert UNIX ticks into a time instance. [extrait de TimeFromTicks.__doc__] |
TimestampFromTicks(ticks) | Convert UNIX ticks into a datetime instance. [extrait de TimestampFromTicks.__doc__] |
Nom de la variable globale | Valeur |
apilevel | 2.0 |
BINARY | DBAPISet({249, 250, 251, 252}) |
DATE | DBAPISet({10}) |
DATETIME | DBAPISet({12, 7}) |
NUMBER | DBAPISet({0, 1, 3, 4, 5, 8, 9, 13, 246}) |
paramstyle | format |
PY2 | False |
ROWID | DBAPISet() |
STRING | DBAPISet({253, 254, 247}) |
threadsafety | 1 |
TIME | DBAPISet({11}) |
TIMESTAMP | DBAPISet({12, 7}) |
version_info | (1, 4, 6, 'final', 0) |
Nom de l'alias | Définition ciblée |
Connection | Connect |
Date | date |
Time | time |
Timestamp | datetime |
connect | Connect |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :