SQLModel: The Python Library You Didn’t Know You Needed
ฝัง
- เผยแพร่เมื่อ 21 พ.ย. 2024
- SQLModel is coming for the throne of Python ORMs.This video covers everything you need to know about SQLModel and how to get it started within your personal Python project.
💻 Repository: www.codingwith...
Want free repositories? www.codingwith...
🎥 React + FastAPI: • How to build a React +...
🎥 AWS Lambda + FastAPI: • Deploy FastAPI on AWS ...
🎥 MongoDB + FastAPI: • Unlocking the Power of...
🎥 MySQL + FastAPI: • How to build a FastAPI...
🎥 PostgreSQL + FastAPI: • How to build a FastAPI...
🎓 Courses can be found:
FastAPI Beginner & Advanced: www.udemy.com/...
Learn Chatbot Development: www.udemy.com/...
👨💻 Hi, I am Eric!👨💻
Hey! I’m a seasoned developer and Cloud enthusiast. I love sharing my knowledge and helping others to discover the exciting world of programming and cloud technologies. For more tutorials, tips, and tech magic, don’t forget to hit that subscribe button and ring the bell for notifications!
🙏 Support The Channel 🙏
If you found this tutorial helpful, please give it a thumbs up 👍, comment, and share it with your network 🌍
#fastapi #sqlmodel #python
As a Python novice, I really appreciate your well packaged introductions. Easy for me to follow while learning.
Great to hear! Cheers friend 🙂
Great video, you answered my prayers with this one. Thanks for making and sharing this video. I can't wait to see a video of you using it in a FastApi project. Love this channel.
You are so welcome and this comment made me happy 🙂
Well done, I hadn't heard about SQLModel, this simplifies SqlAlchemy a good bit. I will also be actively looking to utilize SQLModel. Thanks so much for the video.
You bet 🙂
SQLModel is quickly becoming my go-to ORM for Python. What do you think? Drop your thoughts below, and let me know what you’d love to see in future video!
It is true!
In one video you say the wrong SQL [ si: kju: el ] (as CQL) and the right API.
You decide, either you say all the abbreviations somehow corrupted, or pronounce everything correctly.
I watched the video up to the 50th second, and just in case scrolled forward to make sure of your disgusting speech.
If you created the video with the purpose of conveying information/gaining an audience/making money, then you lost. The first time I saw you, and I put a dislike, and I left without watching the video to the minute and I don't care what kind of charisma/authority/knowledge you have.
Wow! This is amazing. I feel like this is how SQLAlchemy should be.
I agree 100% man!
Without a doubt my second favorite web development ORM, after TypeORM
It is def nice to have!
good to see you again Eric
you nailed it
what a stunnig brief about sqlmodel i am waiting for couple of days now wait is over thank you for this content
Enjoy! Thanks 😊
Was waiting for it. Love it ❤
Woot! Thank you!
My man dedicated his life to python, fastapi and SQL and everything around it . 👏👏
Yup, yup, yup! Hopefully you are enjoying the content 🙂
@@codingwithroby absolutely man. I just have one request, can you please please make a video, where you make a slightly complex app , where you can use a db scheme with relations and cascading deletion and all those db related stuff. For example Social media or e-commerce.
You bet - I'll add it to the backlog of items!
@@codingwithroby love you man. You are the best ❤️
I love it!!! Thank you very much for the video! Like button pressed!
Boom!! Cheers friend
Loved your content as always Eric, And same request as always eagerly waiting for fastapi advanced course in great depth please do that for us😅
Haha I will make this course - but courses take loads of time to make a really good one - it is on my todo list for sometime in 2025 release.
@@codingwithroby Agree Eric , For us who consume the course it looks like 10-15 hour course but there is no denying that behind curtain you have to put tons of efforts and time to build that, I do understand it but on behalf of fastapi community who took your course or familiar with fastapi have high hopes from you, sorry for putting too much pressure on you, I'm sure you're used to it by now 😅
I can see that fastapi has a lot of content now after seeing its popularity but not a single person has gone into actual depth to make something complex that covers most of the parts to do in real world development.
Thanks again for amazing content 🙏
Aww thank you! 😊
PLease also make a video to deploy this on vercel or any other service. How to deploy the postgres on such services. I'm new to all these and a bit confused.
I have a video on vercel 🙂
0:07 Wow you did it 👏
Cheers friend!
Unfortunatelly, as of Oct 2024, the documentation of SQLModel is poor and I need to dig into sqlalchemy I guess.
How do I specify a different table name for the class name? How do I specify a schema dynamically for databases like Postgresql, SQLserver or Oracle?
For more complex apps I would use SQLAlchemy as of right now as it is more mature. SQLModel has crazy potential but I would only use it for smaller apps where everything aligns perfectly for now.
Does the Udemy course updated using sqlmodel?
SQLAlchemy has a bigger community and is more maintained. I will think about adding a section to the course to convert the SQLAlchemy to SQLModel, but for now. SQLAlchemy is by far more popular for every day Python developers and the job market.
It's very dull too work with Alembic. sqlmodel build on top alchemy and alembic
It is not currently built with alembic, you need to still use alembic for data migrations with sqlmodel .. right?
never use orm not good for performance
Noooo very bad take! Always use an ORM.
There are so much sample databases for this typical model. Would be cool to see just the code generation from an existing database. Was boring to look the typing.
I appreciate the feedback!