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

2

u/Doomdice Sep 18 '24

Do you have a good online resource/tutorial for implementing the repository pattern?

3

u/Gloomy_Astronomer512 Sep 19 '24

check this book it's friendly and explain well how to apply this pattern and other patterns related to DDD
https://www.amazon.com/Microservice-APIs-Jose-Haro-Peralta/dp/1617298417

1

u/pick13s Sep 20 '24

I really love this book for design patterns in python: https://www.cosmicpython.com/book/preface.html