Drizzle ORM #2- SQL Types ⭐

Поділитися
Вставка
  • Опубліковано 27 вер 2024

КОМЕНТАРІ • 28

  • @djesoproducer5336
    @djesoproducer5336 Рік тому +3

    Very helpful, your Drizzle course is amazing! Keep going 🤩

  • @muhammadbilal6865
    @muhammadbilal6865 5 місяців тому

    Amazing course and intro. Thanks from heart

    • @SakuraDev
      @SakuraDev  5 місяців тому

      Glad you liked it!

  • @SonAyoD
    @SonAyoD 11 місяців тому +3

    i keep getting this error when i push the schema to adminer 4.8.1 "error: type "time(6) with time zone" does not exist"
    Adminer: PostgreSQL version: 16.0 (Debian 16.0-1.pgdg120+1) through PHP extension PgSQL

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

      Do you have any ideas? Im using the same docker compose you are.

    • @SakuraDev
      @SakuraDev  11 місяців тому +1

      Hey, I should see your schema. You can email it to me

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

      @@SakuraDev whats your email, or do you have discord or a slack channel i could join?

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

      I just deleted the data folder. That resolved the issue

  • @malachibergman902
    @malachibergman902 6 місяців тому

    Your ranges should be -2^x to 2^x +1. The plus one is technically the correct answer

  • @muhammadbilal6865
    @muhammadbilal6865 5 місяців тому

    From Part 1 I got it what i wanted

    • @SakuraDev
      @SakuraDev  5 місяців тому

      Really happy that you liked it

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

    do enums have to be strings? or can they be integers?

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

      Hi, Drizzle ORM doesn't currently support defining underlying integers for enums directly. While PostgreSQL enums store integer representations, Drizzle ORM interacts with them using the string names defined in the enum. Thanks for your comment.

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

      @@SakuraDev ah yeah, I've seen something similar before I think, maybe in java. so almost like a key value pair, right?

  • @CongNguyen-og3iz
    @CongNguyen-og3iz 11 місяців тому

    is uuid also considered a type of its own?

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

      The answer is yes.

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

    Thanks 🙏.

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

      I hope you found it helpful

  • @handyman787
    @handyman787 10 місяців тому +2

    2^7=128, not 32768 (3:11)

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

      Yeap. It was actually 2^15 not 7

  • @malachibergman902
    @malachibergman902 6 місяців тому

    This is all off. I would recommend updating this video with correct values that are accurate for signed values. Your ranges are for unsigned values.

  • @basarat
    @basarat 4 місяці тому

    Came for json. But not covered beyond mentioning “it exists” 😢

    • @SakuraDev
      @SakuraDev  4 місяці тому

      I'm really glad that you visited my channel. 🎉💓 You are a great content creator 💕

    • @basarat
      @basarat 4 місяці тому

      @@SakuraDev oh wow. Thanks. Your video is awesome as well. Sorry for not mentioning the positive aspect 😂🫰🏻🌹

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

    awesime than you

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

    thanks