Should you use SQL or an ORM for Databases!? 👩‍💻

Sdílet
Vložit

Komentáře • 25

  • @marcgentner1322
    @marcgentner1322 Před 5 měsíci +8

    from a business perspective is an orm also an extra hiring and learning aspect. it can speed up development but at the same time can have impact on the team that is building the tools.

  • @jackdavenport5011
    @jackdavenport5011 Před 5 měsíci +20

    ORMs can also be helpful because they automatically do input sanitisation so you don’t need to concern yourself with SQL injections. Some inexperienced developers could easily introduce an SQLI vulnerability if they’re not careful writing raw SQL queries

    • @CalifornianViking
      @CalifornianViking Před 4 měsíci +1

      The SQL injection problem was solved a long time ago. No need to use an ORM for that.

    • @biomorphic
      @biomorphic Před 14 dny

      Use parametric queries, and you do not have to worry about SQL injection. ORMs are a cancer.

  • @LampJustin
    @LampJustin Před 4 měsíci +12

    Just raw dawg squeeel...

  • @AdventMoxy
    @AdventMoxy Před 4 měsíci +5

    Kids use ORMs cause they’re cool. Solution providers use the right tech, nearest the data

  • @jesavius
    @jesavius Před 5 měsíci +4

    Once you grok an ORM realizing it’s a Python dictionary and Python lists just doing set operations… MAGIC‼️ You realize what the alchemy is in SQLAlchemy 🤩🤯

  • @warpdotdev
    @warpdotdev  Před 5 měsíci +3

    What ORM is your favourite?

  • @orel8822
    @orel8822 Před 4 měsíci

    Write your own ORM. That all.

  • @liberal_democrat_usa7921
    @liberal_democrat_usa7921 Před 3 měsíci

    SQL based.Easier and most comfortable

  • @CalifornianViking
    @CalifornianViking Před 4 měsíci

    Every attempt that I have made to use an ORM has failed. It is great for the easy stuff (but so is SQL) and it is really hard once you go beyond the basics.
    It is not any easier. The "simplification" just makes it dumber, which makes it more complex.

  • @jaimel8219
    @jaimel8219 Před 3 měsíci

    Stop being lazy, learn and use SQL.
    Add a query builder if you’re working with juniors that can’t write safe sanitized input.
    And you’re good to go.