Comment

Comment by vladvasiliu

> Full support for Django and particularly it’s ORM (hard to do with FastAPI as the ORM is not yet async)

I think you may have it backwards. Django's ORM isn't async yet [1], whereas FastAPI doesn't actually have an "included" ORM. However, the docs give an example of an async ORM [2], and SQLAlchemy also has async support [3].

---

[1] https://docs.djangoproject.com/en/4.0/topics/async/: We’re still working on async support for the ORM

[2] https://fastapi.tiangolo.com/advanced/async-sql-databases/

[3] https://docs.sqlalchemy.org/en/14/orm/extensions/asyncio.htm...

parent vladvasiliu 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton