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 :

Contenu du module « mariadb »

Liste des classes du module mariadb

Nom de la classe Description
connection The Connection class is used to open and manage a connection to a [extrait de connection.__doc__]
ConnectionPool Class defining a pool of database connections [extrait de ConnectionPool.__doc__]
fieldinfo Returns a MariaDB field information object [extrait de fieldinfo.__doc__]

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(string) This function constructs an object capable of holding a binary (long) [extrait de Binary.__doc__]
connect(*args, **kwargs) Establishes a connection to a database server and returns a connection [extrait de connect.__doc__]
Date(year, month, day) This function constructs an object holding a date value [extrait de Date.__doc__]
DateFromTicks(ticks) This function constructs an object holding a date value from the given [extrait de DateFromTicks.__doc__]
Time(hour, minute, second) This function constructs an object holding a time value [extrait de Time.__doc__]
TimeFromTicks(ticks) This function constructs an object holding a time value from the given [extrait de TimeFromTicks.__doc__]
Timestamp(year, month, day, hour, minute, second) This function constructs an object holding a time stamp value [extrait de Timestamp.__doc__]
TimestampFromTicks(ticks) This function constructs an object holding a time stamp value from the given [extrait de TimestampFromTicks.__doc__]

Liste des variables globales du module mariadb

Nom de la variable globale Valeur
apilevel 2.0
BINARY <dbapitype object at 0x7f40cb7c6d70>
DATETIME <dbapitype object at 0x7f40cb7c6dd0>
mariadbapi_version 10.5.5
NUMBER <dbapitype object at 0x7f40cb7c6d40>
paramstyle qmark
ROWID <dbapitype object at 0x7f40cb7c6e00>
STRING <dbapitype object at 0x7f40cb7c6da0>
test 1
threadsafety 1