SQLAlchemy vs. SQLModel: Which Python ORM is BEST?

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 16

  • @codingwithroby
    @codingwithroby  Месяц назад +7

    Would you rather see more SQLAlchemy or SQLModel in the future videos?

    • @ammarsalahi1369
      @ammarsalahi1369 Месяц назад

      I wanna make clone of instagram and I using sqlmodel, what do you think?? Please give guidance for this🤔

  • @eboyd53
    @eboyd53 Месяц назад +1

    I would like to see code comparison videos between the two ORM. I think the idea of data validation being handled by the ORM is interesting and would love to see how these two compare.

    • @codingwithroby
      @codingwithroby  Месяц назад

      The code is fairly similar, slight differences.

  • @alchemication
    @alchemication 2 дня назад

    With AI code generation i would say No to any ORM and write queries myself, and get pydantic to validate requests and responses precisely. The older you get the less abstraction you want to use 🙂

  • @sokchea007
    @sokchea007 Месяц назад +1

    Async connection comparison is missing. Can you elaborate this part?

    • @codingwithroby
      @codingwithroby  Месяц назад +1

      Their async connections are the same. Since SQLAlchemy has it, SQLModel automatically gets it.

  • @emmanuelalder9052
    @emmanuelalder9052 Месяц назад

    Another great video. Thank you.

  • @مبشر
    @مبشر Месяц назад

    Loved all sqlmodel and sqlalchemy videos. Still waiting for sqlmodel listen for row changes to develop a socket io project

    • @chriskeo392
      @chriskeo392 Месяц назад

      What's an example for this? Sounds cool

  • @kmahendranath3224
    @kmahendranath3224 Месяц назад

    Just like Albus Dumbledore gave additional points to Gryffindor towards the end of Philospher's stone. You too gave brownie points to SQLModel :D
    Great Stuff by you as always

  • @Daniel-fl4si
    @Daniel-fl4si Месяц назад

    Sqlmodel lacks of polymorphism, I mean, the real advanced one and for mi it is a dealbreaker.

  • @CoderBoy2004
    @CoderBoy2004 Месяц назад

    Please make project on fastapi backend and react frontend ❤
    I am waiting for you 😢

    • @codingwithroby
      @codingwithroby  Месяц назад

      I already got that man! Check out my other videos