Prisma Vs. TypeORM Vs. Sequelize | Which is Better?

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • In this video I compare the three most popular ORMs (Object Relational Mapper) in the web dev space. I go over when and where to use each of them.
    Join our Discord: / discord
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/l...
    🐙 GraphQL Course: codedamn.com/l...
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / pedro.fmachado_
    Github: github.com/mac...
    Business Email: pedro@pedrotech.co
    🌟 Gear / Hardware I Use and Recommend 🌟
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💻 amzn.to/42kqFuM 💻 Monitor
    🖱️amzn.to/3C0ZhHb 🖱️ Mouse
    📷 amzn.to/3OHJvbM 📷 My Camera
    🎤 amzn.to/3oxSthj 🎤 My Microphone
    ⌨️ amzn.to/3oFPpj1 ⌨️ My Microphone
    ⚡ amzn.to/3MYMnzM ⚡ LED Lights In the Background
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    #prisma #sequelize #orm

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

  • @kabeerahmad26
    @kabeerahmad26 ปีที่แล้ว +26

    No matter how many views you get but Your content is worth watching

  • @GabrielGasp
    @GabrielGasp ปีที่แล้ว +23

    Prisma is great, until you notice that it doesn’t use JOINs and for complex queries with multiple tables you have a huge impact on performance.

    • @samdaniel240
      @samdaniel240 ปีที่แล้ว

      So, is there any workaround?

    • @keneagagwu369
      @keneagagwu369 ปีที่แล้ว

      This isnt true at all

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

      @@keneagagwu369 It is true, Prisma does multiple data fetching under the hood to perform JOINS explicitly, and this can easily lead to redundancy

    • @sauer.voussoir
      @sauer.voussoir 4 หลายเดือนก่อน

      @@keneagagwu369 yes it is

    • @wellyesorno
      @wellyesorno 3 หลายเดือนก่อน +1

      Its only 200 - 300 ms for fetching data (warm start). I made complex queries to fetch data from multiple tables. But anyway, is 300 ms bad?. I know mongodb can make it 40 - 70 ms for same result.

  • @hakberdiorazow232
    @hakberdiorazow232 ปีที่แล้ว +2

    i appreciate your kindness and i wanted to thank for your effort to teach us new technologies

  • @tutorialtricks6046
    @tutorialtricks6046 ปีที่แล้ว +8

    Prisma is good for small scale applications but not recommended for large scale applications

  • @tiendang5149
    @tiendang5149 ปีที่แล้ว +8

    You should drop timeline in video description for better interaction, thanks!

  • @ead5590
    @ead5590 ปีที่แล้ว +4

    Not sure about the others, but I had a very good time working with Prisma and hooking it up with Planet Scale. Prisma is quite the treat. Their docs are thaa bomb! 💣 You can surely get it up and running in no time.. Great stuff!
    Great videos as always Pedro. Keep em comin'! ✌🏻

    • @dreamxz
      @dreamxz ปีที่แล้ว +1

      You shouldn’t even be deploying prisma to planet scale because it doesn’t natively support foreign keys, it will impact performance

  • @luxdev4719
    @luxdev4719 5 หลายเดือนก่อน +1

    Yo no comparto los comentarios respecto a Sequelize. Creo que la sintaxis puede ser verbosa pero clara y sin ambiguedades. Incluso su manera de manejar las relaciones entre modelos es mucho más precisa que la de otros orm. Creo que sequelize es el mejor Orm porque es robusto y efeciciente.

  • @ayushgogna9732
    @ayushgogna9732 ปีที่แล้ว +1

    would you compare drizzle ?

  • @omogbemeiyere6475
    @omogbemeiyere6475 ปีที่แล้ว +1

    Hello Bro, Please Can You do a tutorial on how to setup sequelize and typescript in a expressjs/typescript project most especially when trying to work with migrations I get stucked while working with this tools.

    • @Liverpoolfansafricatv
      @Liverpoolfansafricatv 11 หลายเดือนก่อน +1

      Sequelize doesnt really support TypeScript

  • @naveeng2003
    @naveeng2003 ปีที่แล้ว +1

    Can we compare on prisma and drizzle

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

    can you have a visualization of how to use it i am a begginer here!

  • @alexpirine
    @alexpirine 9 หลายเดือนก่อน +3

    It's obvious. The new hot thing is Prisma. Use the new hot thing. Or don't use anything. You'll have to learn a new ORM in 2 years anyway.

  • @anthonygesora2517
    @anthonygesora2517 ปีที่แล้ว +1

    Really helpful, big up my guy you've brought me from a stranger to react up to prisma currently working any project with react, typescript ... it's way tooo cheap for me now 🎉🎉🎉🎉🎉🎉 still expect much from you ... am having a request, kindly do me a cloned project with react, node socket io and firebase, maybe a social media app or something else but touching on this

  • @rohithkaveti1226
    @rohithkaveti1226 ปีที่แล้ว

    Thoughts on mikroorm?

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

    Drizzle has entered the chat!!!

  • @vvan22
    @vvan22 ปีที่แล้ว +1

    I wish that you also show some real code, your explanation sounds great, but for someone who doesn't really have any experience with these ORMs, it would be much better to see the code that you're explaining.

  • @CliveStewart-bq3od
    @CliveStewart-bq3od ปีที่แล้ว +1

    hey drizzle orm is actually the new and best kid on the bock

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

      They already was knex dude :/

  • @kingvas7638
    @kingvas7638 ปีที่แล้ว +2

    knexjs is faster of these as a query builder

  • @ROVAKAN
    @ROVAKAN ปีที่แล้ว +1

    hey Pedro , can you make an axios tutorial with JWT ? That will be awesome man. Awesome channel by the way

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

    Thanks.

  • @maumau180300
    @maumau180300 ปีที่แล้ว

    Wow my programming is so much better now

  • @emmafrimpong658
    @emmafrimpong658 10 หลายเดือนก่อน +1

    Prisma does not support SQL views

  • @kodekorp2064
    @kodekorp2064 ปีที่แล้ว

    Why not talk about Drizzle though?

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

    thought it was a kind of a usless video “i think sequelize is the oldest one because i heard it since when i first started coding”
    Also there wasnt clear pros or cons

  • @eliuddyn
    @eliuddyn ปีที่แล้ว

    Very helpful info 🔥🔥

  • @thiagovilla970
    @thiagovilla970 23 วันที่ผ่านมา

    "You have to choose technologies that are popular". Beware shiny object syndrome. Unpopular/outdated technologies might already be in production and making money.

  • @maumau180300
    @maumau180300 ปีที่แล้ว

    And he is so cute ❤

  • @ramosdeluis
    @ramosdeluis ปีที่แล้ว

    Br?

  • @KingNFT_oficial
    @KingNFT_oficial ปีที่แล้ว

    lol i dont speak english but i can understand

  • @mohitcodeswell
    @mohitcodeswell ปีที่แล้ว +4

    Stop these content kid 😅

    • @PedroTechnologies
      @PedroTechnologies  ปีที่แล้ว

      Why...

    • @mohitcodeswell
      @mohitcodeswell ปีที่แล้ว

      @@PedroTechnologies I think you've got much potential as a yougster and you should focus on solving real world problems through the knowledge of your code and not comparing those ORM's as you can compare those in a "short vid". As a senior dev for 21 years i would recommend you that!

    • @ClevertonAlmeida-rv9gd
      @ClevertonAlmeida-rv9gd ปีที่แล้ว +6

      Dude, what are you saying? His videos already helped me a lot.
      I'm studying node and I was asking myself wich ORM I should try to learn, the courses and tutorials out there usually uses mongoose and I really didn't liked.

    • @PedroTechnologies
      @PedroTechnologies  ปีที่แล้ว +9

      @@mohitcodeswell i personally make videos i would wanna watch. I do listen to my subs, but tbh everyone wants different things. So my goal is to always make a video i wouldve wanted to watch when i started

    • @mohitcodeswell
      @mohitcodeswell ปีที่แล้ว

      @@ClevertonAlmeida-rv9gd okay

  • @sunny7268
    @sunny7268 ปีที่แล้ว +24

    From my exp, Prisma is the same Hybrid vs Nativ app, it is suitable for some usages, but for heavy lifting, you should use something more complex like Sequelize, but the main cons of Sequelize it is not TS oriented let's see how drizzle-orm will work out.

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

      yeees i hate to work with sequelize while im using ts, its so struggling to define models and setting em up with ts

  • @imPrathamDev
    @imPrathamDev ปีที่แล้ว +6

    The dude says that Prisma is lightweight lol, please compare these ORMs' sizes prisma is too big which is not good if your project is on aws lambda

    • @Oscarvedo
      @Oscarvedo 20 วันที่ผ่านมา

      More expensive operation, larger bundle size and worse performance. What's wrong with these youtubers? Are they getting paid wtf?

  • @atemrandyasong5710
    @atemrandyasong5710 ปีที่แล้ว +5

    "If you wanna use sequelize, that's a bad decision. No I'm just joking".
    We got the message Pedro 😂😂

  • @CodeOnBlocks
    @CodeOnBlocks ปีที่แล้ว +3

    Hi Pedro, feedback:
    This video would've been more helpful with some visuals of code or docs rather than a video of you talking the whole time.
    Keep up the great work!

  • @andreiz82
    @andreiz82 8 หลายเดือนก่อน +3

    There is only one right answer and that is TypeORM.

    • @arthurzago5197
      @arthurzago5197 3 วันที่ผ่านมา

      Not currently! It's been 6 months without any adjustments, in addition to being a terrible ORM with type inference.

  • @YpsilonTM
    @YpsilonTM ปีที่แล้ว +1

    NGL I really liked working with prisma but that fact that I don't use it, is because when I make projectjes that I will host on my raspberry... It wont work it complains about the cpu architecture and I haven't gotten it to work. Sad :(

  • @GamerSharp
    @GamerSharp ปีที่แล้ว +1

    Hi pedro can you make a video about payments with stripe and react ?

  • @ronelcabrera5191
    @ronelcabrera5191 6 หลายเดือนก่อน +1

    O.R.M or O-R-M

  • @regilearn2138
    @regilearn2138 ปีที่แล้ว +1

    Now its drizzle ,what is your thought on this

  • @HeriYantodotDev
    @HeriYantodotDev ปีที่แล้ว +1

    Great! This is what I'm looking for.

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

    Drizzle

  • @vour6654
    @vour6654 ปีที่แล้ว +4

    BTW I think ORMs is pronounced as a abbreviation rather than a word. Love your videos!

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

    O.R.M.

  • @Antagonist97
    @Antagonist97 ปีที่แล้ว

    Did you delete the js playlist?? Why bro?

  • @fallanstar
    @fallanstar ปีที่แล้ว

    Hi sir plz start React native projects

  • @pranavshekhawat6430
    @pranavshekhawat6430 ปีที่แล้ว

    Need a video on cache busting for reactjs

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

    Very helpful, Thanks

  • @irre1815
    @irre1815 ปีที่แล้ว

    thank you.

  • @rillnews
    @rillnews ปีที่แล้ว +2

    Why should I watch your big face on the screen instead of schema and codes?