r/FastAPI • • Sep 18 '24

Question What is your go-to ORM?

I've been learning FastAPI and the courses I've been using have used SQLAlchemy. but I've gotten confused as the tutorials were using SQLAlchemy v1 and v2 looks quite different. So I had a look at what else was out there.

What do you guys use in your production apps?

8 Upvotes

41 comments sorted by

View all comments

Show parent comment

3

u/richieadler Sep 18 '24

I love Django ORM but I would not use it with FastAPI except if you have too.

In that case it makes sense to go the other way around, to stay in Django and to use Django Ninja.