NestJS + Drizzle Deep Dive | Schemas, Relations, Migrations & More

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

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

  • @mguay
    @mguay  3 месяца назад +3

    Check out my website for additional monthly exclusive content: michaelguay.dev/

  • @TsillALevi
    @TsillALevi 3 месяца назад +4

    youtube recommended this video when i'm just start learning nestjs. Great video for me

  • @mattz_zeref
    @mattz_zeref 2 месяца назад

    this is amazing, learn a ton about drizzle and nestjs ❤
    the part when created profiles i created separated controllers and service for it, so it will be easier to locate for each controller and service

  • @lexNwimue
    @lexNwimue 3 месяца назад +1

    At 34:06, when I saw '0 fks', I didn't immediately thinkg "foreign keys'. In my head I read it like drizzle is saying '0 fks given' 😂😂

  • @mohammadhammal2440
    @mohammadhammal2440 3 месяца назад

    Your content is valuable, keep it up.

  • @g-luu
    @g-luu 3 месяца назад

    Thanks for this. Great job.

  • @paneurhythmie
    @paneurhythmie 20 дней назад

    Hi Michael, thank you for the nice overview about drizzle in nestjs. Can you make an example how to implement abstract repository with drizzle orm in nestjs?
    Thank you.

  • @sunnysetia
    @sunnysetia 3 месяца назад

    Been waiting for this one!

  • @АлексейБатькович-з5т

    Привет. Ты мне супер помог. Спасибо тебе

  • @narutokalatozi
    @narutokalatozi 14 дней назад

    Thank you so much! I genuinely wonder, would you use drizzle in production app or would you wait untill it becomes more stable?

  • @FauzulChowdhury
    @FauzulChowdhury 3 месяца назад

    Bringing incredible content again. Do you update your udemy course with the new contents Michael?

  • @rameshrathod01
    @rameshrathod01 3 месяца назад

    Awesome tutorial.. could make vedio on bunjs with elysia...

  • @mohamedelkhallifi1910
    @mohamedelkhallifi1910 2 месяца назад

    i have a qst pls is it possible to define a schema folder in database module and put in it all tables schema then use what you need from it ??

  • @archip8021
    @archip8021 3 месяца назад +1

    drizzle is awesome

  • @marius-mihailionte339
    @marius-mihailionte339 3 месяца назад

    I have a question regarding the mix between users and posts when using drizzle orm
    Via "with", I can query posts for a specific user or all users on the same query in the Users Module and can query for each post the user in Posts Module
    If I continue in this way, I think both modules become a mix, losing their distinction, Users Service should be only about user operations and Posts Service only about posts
    What do you think?
    Thank you for this amazing video tutorial, great content, learned a lot

  • @adriandrozman3404
    @adriandrozman3404 3 месяца назад

    any chance you will use drizzle over prisma on your latest course?

    • @mguay
      @mguay  3 месяца назад

      I will likely include a separate module that shows how to swap it in. Although it does seem like there is a lot of demand for it :)

  • @doylanmihov3939
    @doylanmihov3939 7 дней назад

    I do not get the point of database-connection.ts it is just exporting the variable of the string how is that useful?

    • @simransingh1507
      @simransingh1507 7 дней назад

      We are using the same string in multiple files. Creating a const for that is good practice to avoid spelling mistakes. Now, the same const is used everywhere, instead of wring that string in all places.

  • @codexamofficial
    @codexamofficial 3 месяца назад

    Is Drizzle better than Prisma, or what are the reasons for using Drizzle over Prisma?

    • @asadmehboob1300
      @asadmehboob1300 3 месяца назад

      drizzle is fast and not abstract like prisma

    • @adrian333dev
      @adrian333dev 3 месяца назад

      Prisma is the worst orm in existence! They missing a lot of crucial features, and when u google for a Github issue for it you find a 2-3 year old 20 page long Github issue requesting that feature, and they just don't care.

  • @shakapaker
    @shakapaker 17 дней назад

    so much boilerplate code is kinda weird like injecting db connection then import schema from correct place and pass it as generic

  • @blainefire4588
    @blainefire4588 3 месяца назад +1

    thank you daddy

  • @solomanter
    @solomanter 3 месяца назад

    or simple use nestjs-drizzle package

    • @mguay
      @mguay  3 месяца назад +1

      Yes definitely this package is great and can simplify the connection management. However I like to learn how things are working under the hood :)

    • @solomanter
      @solomanter 3 месяца назад

      @@mguay 👍

  • @jotaroisdarius1918
    @jotaroisdarius1918 3 месяца назад

    first :)