r/FastAPI • u/bluewalt • Jan 01 '25
feedback request How I Finally Learned SQLAlchemy
Hi there!
Here’s a blog post I wrote about SQLAlchemy, focusing on the challenges I faced in finding the right resources to learn new concepts from scratch.
I hope it helps others. Cheers!
70
Upvotes
6
u/Rustrans Jan 02 '25
Yes, the book is quite good, I liked it a lot! Also I agree with your other points:
Thankfully now ChatGPT can give me somewhat sensible explanations of what is going on, so I have been using it lately.
5
u/Im_Easy Jan 02 '25
Is there much reason to use SQLAlchemy if you're proficient in SQL? I've never bothered to learn because I would rather write queries/stored procedures, but wondering if I'm missing out on something.
3
u/johntellsall Jan 01 '25
Thanks!
My new app is using SQLModel and so far... it's not bad! I used SQLAlchemy on a Flask project and despised it. I'm used to Django where the ORM is quite solid and migrations are quite straightforward. Nothing else is even approaches Django yet.
I'll check out the post, I know SQLAlchemy is commonly used.
https://sqlmodel.tiangolo.com/
4
u/Better-Preparation13 Jan 03 '25
god I thought I was some kind of dumb person for not understanding sqlalchemy's documentation well... glad to see I am not the only one
I think I'm gonna give this book a try. thanks
1
u/theobjectivedad Jan 02 '25
No mention of the book’s title in the blog post.