module documentation

Note

The asyncmy dialect as of September, 2021 was added to provide MySQL/MariaDB asyncio compatibility given that the :ref:`aiomysql` database driver has become unmaintained, however asyncmy is itself very new.

Using a special asyncio mediation layer, the asyncmy dialect is usable as the backend for the :ref:`SQLAlchemy asyncio <asyncio_toplevel>` extension package.

This dialect should normally be used only with the _asyncio.create_async_engine engine creation function:

from sqlalchemy.ext.asyncio import create_async_engine
engine = create_async_engine("mysql+asyncmy://user:pass@hostname/dbname?charset=utf8mb4")
Class ​Async​Adapt_asyncmy_connection Undocumented
Class ​Async​Adapt_asyncmy_cursor Undocumented
Class ​Async​Adapt_asyncmy_dbapi Undocumented
Class ​Async​Adapt_asyncmy_ss_cursor Undocumented
Class ​Async​Adapt​Fallback_asyncmy_connection Undocumented
Class ​My​SQLDialect_asyncmy Undocumented
Function _​Binary Return x as a binary type.
def _Binary(x):
Return x as a binary type.