Participer au site avec un Tip
Rechercher
 

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 :

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé

Contenu du module « mariadb »

Liste des classes du module mariadb

Nom de la classe Description
Connection
ConnectionPool
Cursor
DbApiType
fieldinfo

Liste des exceptions du module mariadb

Nom de la classe d'exception Description
DatabaseError Exception raised for errors that are related to the database [extrait de DatabaseError.__doc__]
DataError Exception raised for errors that are due to problems with the processed data like division by zero, numeric value out of range, etc. [extrait de DataError.__doc__]
Error
IntegrityError Exception raised when the relational integrity of the database is affected, e.g. a foreign key check fails [extrait de IntegrityError.__doc__]
InterfaceError Exception raised for errors that are related to the database interface rather than the database itself [extrait de InterfaceError.__doc__]
InternalError Exception raised when the database encounters an internal error, e.g. the cursor is not valid anymore [extrait de InternalError.__doc__]
NotSupportedError Exception raised in case a method or database API was used which is not supported by the database [extrait de NotSupportedError.__doc__]
OperationalError Exception raised for errors that are related to the database's operation and not necessarily under the control of the programmer. [extrait de OperationalError.__doc__]
PoolError Exception raised for errors related to ConnectionPool class. [extrait de PoolError.__doc__]
ProgrammingError Exception raised for programming errors, e.g. table not found or already exists, syntax error in the SQL statement [extrait de ProgrammingError.__doc__]
Warning Exception raised for important warnings like data truncations while inserting, etc [extrait de Warning.__doc__]

Liste des fonctions du module mariadb

Signature de la fonction Description
Binary(object) Constructs an object capable of holding a binary value. [extrait de Binary.__doc__]
connect(*args, connectionclass=<class 'mariadb.connections.Connection'>, **kwargs)
Date(year, month, day) Constructs an object holding a date value. [extrait de Date.__doc__]
DateFromTicks(ticks) Constructs an object holding a date value from the given ticks value [extrait de DateFromTicks.__doc__]
Time(hour, minute, second) Constructs an object holding a time value. [extrait de Time.__doc__]
TimeFromTicks(ticks) Constructs an object holding a time value from the given ticks value [extrait de TimeFromTicks.__doc__]
Timestamp(year, month, day, hour, minute, second) Constructs an object holding a datetime value. [extrait de Timestamp.__doc__]
TimestampFromTicks(ticks) Constructs an object holding a datetime value from the given ticks value [extrait de TimestampFromTicks.__doc__]

Liste des variables globales du module mariadb

Nom de la variable globale Valeur
apilevel 2.0
BINARY DbApiType({249, 250, 251, 252, 255})
client_version 34003
client_version_info (3, 4, 3)
DATE DbApiType({10})
DATETIME DbApiType({12, 7})
mariadbapi_version 3.4.3
MAX_POOL_SIZE 64
NUMBER DbApiType({0, 1, 2, 3, 4, 5, 8, 9, 13, 246})
paramstyle qmark
ROWID DbApiType()
STRING DbApiType({15, 245, 247, 253, 254})
threadsafety True
TIME DbApiType({11})
TIMESTAMP DbApiType({12, 7})


Vous êtes un professionnel et vous avez besoin d'une formation ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé