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

Поділитися
Вставка
  • Опубліковано 30 вер 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

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

  • @tutorialtricks6046
    @tutorialtricks6046 Рік тому +8

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

  • @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 22 дні тому

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

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

  • @atemrandyasong5710
    @atemrandyasong5710 Рік тому +5

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

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

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

  • @thiagovilla970
    @thiagovilla970 25 днів тому

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

  • @andreiz82
    @andreiz82 8 місяців тому +3

    There is only one right answer and that is TypeORM.

    • @arthurzago5197
      @arthurzago5197 6 днів тому

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

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

  • @kingvas7638
    @kingvas7638 Рік тому +2

    knexjs is faster of these as a query builder

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

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

  • @tiendang5149
    @tiendang5149 Рік тому +8

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

  • @hakberdiorazow232
    @hakberdiorazow232 Рік тому +2

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

  • @ronelcabrera5191
    @ronelcabrera5191 6 місяців тому +1

    O.R.M or O-R-M

  • @emmafrimpong658
    @emmafrimpong658 10 місяців тому +1

    Prisma does not support SQL views

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

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

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

  • @GamerSharp
    @GamerSharp Рік тому +1

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

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

  • @regilearn2138
    @regilearn2138 Рік тому +1

    Now its drizzle ,what is your thought on this

  • @HeriYantodotDev
    @HeriYantodotDev Рік тому +1

    Great! This is what I'm looking for.

  • @vour6654
    @vour6654 Рік тому +4

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

  • @ayushgogna9732
    @ayushgogna9732 Рік тому +1

    would you compare drizzle ?

  • @naveeng2003
    @naveeng2003 Рік тому +1

    Can we compare on prisma and drizzle

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

  • @NevDevInfo
    @NevDevInfo 11 місяців тому

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

  • @Antebios
    @Antebios 3 місяці тому

    Drizzle has entered the chat!!!

  • @KingNFT_oficial
    @KingNFT_oficial Рік тому

    lol i dont speak english but i can understand

  • @kodekorp2064
    @kodekorp2064 Рік тому

    Why not talk about Drizzle though?

  • @maumau180300
    @maumau180300 Рік тому

    Wow my programming is so much better now

  • @Antagonist97
    @Antagonist97 Рік тому

    Did you delete the js playlist?? Why bro?

  • @pranavshekhawat6430
    @pranavshekhawat6430 Рік тому

    Need a video on cache busting for reactjs

  • @papa_ethan
    @papa_ethan 3 місяці тому

    Drizzle

  • @fallanstar
    @fallanstar Рік тому

    Hi sir plz start React native projects

  • @maumau180300
    @maumau180300 Рік тому

    And he is so cute ❤

  • @houriayaseen5487
    @houriayaseen5487 11 місяців тому

    Very helpful, Thanks

  • @danielson9490
    @danielson9490 10 місяців тому

    O.R.M.

  • @rohithkaveti1226
    @rohithkaveti1226 Рік тому

    Thoughts on mikroorm?

  • @ramosdeluis
    @ramosdeluis Рік тому

    Br?

  • @en_kratia
    @en_kratia 11 місяців тому

    Thanks.

  • @irre1815
    @irre1815 Рік тому

    thank you.

  • @ROVAKAN
    @ROVAKAN Рік тому +1

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

  • @eliuddyn
    @eliuddyn Рік тому

    Very helpful info 🔥🔥

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