r/FastAPI • • Jan 08 '25

Question What's the benefit of sqlmodel in fastapi?

I think using sqlalchamy is enough so why using sqlmodel especially when it adds another extra layer; what's the benefti?

16 Upvotes

24 comments sorted by

View all comments

Show parent comment

2

u/bluewalt Jan 08 '25

Thanks for making it clear. I pretty much agree with you. I guess on a small project, one or the other solution will work anyway. Things could be more interesting when one need to scale.