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

ความคิดเห็น • 45

  • @demolazer
    @demolazer 2 หลายเดือนก่อน +1

    As a Python novice, I really appreciate your well packaged introductions. Easy for me to follow while learning.

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน

      Great to hear! Cheers friend 🙂

  • @emmanuelalder9052
    @emmanuelalder9052 2 หลายเดือนก่อน +3

    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.

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน

      You are so welcome and this comment made me happy 🙂

  • @omarcrosby
    @omarcrosby 2 หลายเดือนก่อน +1

    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.

  • @codingwithroby
    @codingwithroby  2 หลายเดือนก่อน +7

    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!

    • @juragaroanmonquezsa690
      @juragaroanmonquezsa690 2 หลายเดือนก่อน

      It is true!

    • @konstantinvoropaev2623
      @konstantinvoropaev2623 18 วันที่ผ่านมา

      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.

  • @carecavoador
    @carecavoador หลายเดือนก่อน

    Wow! This is amazing. I feel like this is how SQLAlchemy should be.

  • @coff3andprograming
    @coff3andprograming 2 หลายเดือนก่อน +3

    Without a doubt my second favorite web development ORM, after TypeORM

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน

      It is def nice to have!

  • @ahmadbilalfarooqi
    @ahmadbilalfarooqi 2 หลายเดือนก่อน

    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

  • @مبشر
    @مبشر 2 หลายเดือนก่อน +1

    Was waiting for it. Love it ❤

  • @srinathshrestha3899
    @srinathshrestha3899 2 หลายเดือนก่อน +1

    My man dedicated his life to python, fastapi and SQL and everything around it . 👏👏

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน +1

      Yup, yup, yup! Hopefully you are enjoying the content 🙂

    • @srinathshrestha3899
      @srinathshrestha3899 2 หลายเดือนก่อน +1

      @@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.

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน

      You bet - I'll add it to the backlog of items!

    • @srinathshrestha3899
      @srinathshrestha3899 2 หลายเดือนก่อน +2

      @@codingwithroby love you man. You are the best ❤️

  • @arduriki
    @arduriki 2 หลายเดือนก่อน +1

    I love it!!! Thank you very much for the video! Like button pressed!

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน +1

      Boom!! Cheers friend

  • @abhishekkaswan7476
    @abhishekkaswan7476 2 หลายเดือนก่อน +1

    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😅

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน +1

      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.

    • @abhishekkaswan7476
      @abhishekkaswan7476 2 หลายเดือนก่อน +2

      @@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 🙏

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน

      Aww thank you! 😊

  • @MubasharDev-d7t
    @MubasharDev-d7t หลายเดือนก่อน

    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.

    • @codingwithroby
      @codingwithroby  หลายเดือนก่อน

      I have a video on vercel 🙂

  • @dev-akeel
    @dev-akeel 2 หลายเดือนก่อน

    0:07 Wow you did it 👏

  • @brainforest88
    @brainforest88 หลายเดือนก่อน

    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?

    • @codingwithroby
      @codingwithroby  หลายเดือนก่อน

      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.

  • @SugengWahyudi
    @SugengWahyudi 2 หลายเดือนก่อน

    Does the Udemy course updated using sqlmodel?

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน +3

      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.

  • @alexandrodisla6285
    @alexandrodisla6285 2 หลายเดือนก่อน

    It's very dull too work with Alembic. sqlmodel build on top alchemy and alembic

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน

      It is not currently built with alembic, you need to still use alembic for data migrations with sqlmodel .. right?

  • @udaym4204
    @udaym4204 7 วันที่ผ่านมา

    never use orm not good for performance

    • @codingwithroby
      @codingwithroby  7 วันที่ผ่านมา

      Noooo very bad take! Always use an ORM.

  • @flybyray
    @flybyray 2 หลายเดือนก่อน

    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.

    • @codingwithroby
      @codingwithroby  2 หลายเดือนก่อน

      I appreciate the feedback!