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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

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

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

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

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

    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 5 หลายเดือนก่อน +3

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

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

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

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

    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 ปีที่แล้ว

      @@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 6 หลายเดือนก่อน

      @@keneagagwu369 yes it is

    • @wellyesorno
      @wellyesorno 5 หลายเดือนก่อน +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.

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

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

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

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

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

    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 2 หลายเดือนก่อน +1

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

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

    Great! This is what I'm looking for.

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

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

  • @alexpirine
    @alexpirine 11 หลายเดือนก่อน +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.

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

    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.

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

    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!

  • @SandeepMehta-f2l
    @SandeepMehta-f2l 23 วันที่ผ่านมา

    Drizzle is new emerging player which provides type safety and exposure for SQL players.

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

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

    Now its drizzle ,what is your thought on this

  • @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 :(

  • @andreiz82
    @andreiz82 10 หลายเดือนก่อน +4

    There is only one right answer and that is TypeORM.

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

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

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

    Very helpful, Thanks

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

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

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

    would you compare drizzle ?

  • @caballerosalas
    @caballerosalas 29 วันที่ผ่านมา +1

    "When I started." Hahaha, it's funny when these kids talk like they are veterans, when the reality is that five years ago, they were watching cartoons.

    • @PedroTechnologies
      @PedroTechnologies  24 วันที่ผ่านมา

      lol criticize my content pls, not something i said that has nothing to do with it. And btw im 23...

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

    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 ปีที่แล้ว

      They already was knex dude :/

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

    Can we compare on prisma and drizzle

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

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

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

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

    Prisma does not support SQL views

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

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

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

    "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 ปีที่แล้ว

    Wow my programming is so much better now

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

    Very helpful info 🔥🔥

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

    Did you delete the js playlist?? Why bro?

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

    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

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

    O.R.M or O-R-M

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

    Need a video on cache busting for reactjs

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

    Thoughts on mikroorm?

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

    knexjs is faster of these as a query builder

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

    thank you.

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

    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.

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

    Why not talk about Drizzle though?

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

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

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

    Hi sir plz start React native projects

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

    And he is so cute ❤

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

    O.R.M.

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

    Drizzle

  • @deniswarsidin9402
    @deniswarsidin9402 11 วันที่ผ่านมา

    Believe me ORM with magic syntax will make you stupid.

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

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

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

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

    Thanks.