Ep3 Golang Microservice Query Multiple Tables with One-To-Many in a Database Transaction with sqlx

Поділитися
Вставка
  • Опубліковано 2 січ 2025

КОМЕНТАРІ • 16

  • @samsonnwokike9897
    @samsonnwokike9897 5 місяців тому +1

    This series has been awesome so far

    • @dhij
      @dhij  5 місяців тому +1

      glad to hear! comments like this keep me going 🙂

  • @ramdoni3935
    @ramdoni3935 6 місяців тому +2

    Wow amazing content.. Testing and Database Tx very very important for me.. Keep up Man Keep update your amazing content

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

      Glad to hear that is relevant to you 👍

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

    great content

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

    Great, enjoying the series 🖤. I hope you'll also cover clean architecture in this series.

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

      yup i can do that once i have some pieces together 👍

  • @CalmCamera-zn6sb
    @CalmCamera-zn6sb 5 місяців тому

    so so thank u, please share some video about decorations with sqlx

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

    awesome content

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

      thank you! glad to hear you liked it 👍

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

    Great

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

    From this video, you are working on a relational database with many selections from other tables which can have high latency because it takes time to loop and assign the "items" column to the orders table. Why not use a "left join" to improve this method?
    If you use the "left join" method, how can you create a relational table with the returned object or array?
    Thanks for your time.

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

      You are right, JOINs would be better in terms of performance. I chose separate queries to demonstrate database transaction and I don't have any example for the join approach at the moment but i will share once I try them. Let me know if you happen to come up with any solution :)

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

    great great work. and please finish this project if you wish

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

      thanks! will do 👍