[Tutorial] FastAPI with SQLAlchemy Async ORM and Alembic
6 min readMar 28, 2022
If you go through the FastAPI docs, you will see that the recommended way to use SQLAlchemy asynchronously is by using the package databases
and SQLAlchemy core since SQLAlchemy ORM did not have support for async operations. I have already created a tutorial describing how to use FastAPI with databases with SQLAlchemy core. But now SQLAlchemy ORM with support for async is finally here. The…