r/FastAPI • u/00001sam10000 • 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
View all comments
Show parent comment
1
u/bluewalt Jan 08 '25
I also like to think that if I need/want to use Flask or Litestar, I prefer having the DTO layer the same no matter the framework.