Seeding | Drizzle ORM Comprehensive Course | Part-8

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • This video is part 8 of a comprehensive course on Drizzle ORM. In this episode, you will learn how to seed your database with dummy data for testing purposes using Drizzle ORM.
    Here are the key points covered in the video:
    What Seeding is and Why it's Useful
    Seeding allows you to populate your database with dummy data for testing purposes.
    This is helpful because you don't need to manually add the data each time you want to test your application.
    How to Create a Schema Diagram for Your Drizzle ORM Schema
    The video walks you through creating a visual representation of your database tables and their relationships.
    This can help you understand the structure of your database and how the tables are connected.
    How to Implement Seeding Functionality with Drizzle ORM
    The video demonstrates how to create a seed file that inserts dummy data into your database tables.
    You will learn how to use the Faker package to generate more realistic data for your seed file.
    How to Run the Seeding Functionality
    The video shows you how to run the seed file from your terminal.
    Once you run the seed file, your database will be populated with dummy data.
    By the end of this video, you will be able to seed your database with Drizzle ORM and use the Faker package to generate more realistic data for your seed file.

КОМЕНТАРІ • 11

  • @asimalqasmi7316
    @asimalqasmi7316 8 місяців тому +1

    Glad to see the seeding after the long waiting. Appreciated.

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

    A-Z Complete 😍 Thanks for your efforts on this series

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

      Thanks a lot 🙏😊

  • @hosseinsadeghie-t6w
    @hosseinsadeghie-t6w 8 місяців тому +2

    Thank you very much, Professor Vahid, it was great as always

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

      Hey 👋, thank you so much 🙂

  • @belkocik
    @belkocik 4 місяці тому +1

    Would love to see a full course with DrizzleORM and NestJS.

  • @IkraamDev
    @IkraamDev 7 місяців тому

    Thank you for making this video.

  • @WIBEDRILLMusic
    @WIBEDRILLMusic 7 місяців тому

    Hi Sakura, can you please explain how can I query table from different schemas in PG if I've implemented schema based multitenancy in database.???

  • @asimalqasmi7316
    @asimalqasmi7316 8 місяців тому

    If it is possible, I need to know to change environments in Nextjs and drizzle config between test, dev and production.

  • @ayushgogna9732
    @ayushgogna9732 8 місяців тому

    it would be better to use fakerjs here