API Reference
MariaDB Connector/Python API reference covers the module, connection class, cursor class, async/await support, connection pooling, and constants used in Python database applications.
The MariaDB Connector/Python module provides connect, asyncConnect, create_pool, and create_async_pool constructors, DB API 2.0 type objects, and the exception hierarchy.
MariaDB Connector/Python Connection class reference covers parameters, methods for commit and rollback, and read-only attributes for server version and TLS state.
MariaDB Connector/Python Cursor class documents parameters, execute and fetch methods, and attributes such as rowcount, description, and sp_outparams for stored procedures.
MariaDB Connector/Python ConnectionPool manages a fixed-size pool with methods to add, retrieve, and close connections, plus attributes reporting pool size and connection state.
MariaDB Connector/Python constants module defines groups: CAPABILITY, CLIENT, CURSOR, FIELD_TYPE, FIELD_FLAG, INDICATOR, STATUS, and EXT_FIELD_TYPE.
Last updated
Was this helpful?

