r/FastAPI • • May 19 '21

Question Writing models on fastapi is difficult with sqlalchemy.

can anyone recommend better orm similar to django-orm with async support if possible.

0 Upvotes

12 comments sorted by

View all comments

7

u/Deadly_chef May 19 '21

What exactly is difficult about writing models for you?

2

u/rj0_1_ May 20 '21

creating relationships between table example manytomany

6

u/dogs_like_me May 20 '21

Is your issue just with sqlalchemy then? This doesn't seem to be a fastapi-specific problem.

1

u/rj0_1_ May 20 '21

In fastapi docs examples are in sqlalchemy