Laravel Eloquent Relationships | One To One | Part 1

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

КОМЕНТАРІ • 22

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

    This video helped me better understand the use of foreign keys between tables, just what I was looking for, thank you. I look forward to watching all the other videos in the series.

  • @wilsonfernandes5623
    @wilsonfernandes5623 3 роки тому +3

    Excellent class, I'm new to laravel. Please, can you take a continuation class with a controller and a view?

    • @AngelJayAcademy
      @AngelJayAcademy  3 роки тому +2

      Hi Mr Fernandes, thank you for your great feedback. I am still contemplating of creating a series on "How to build a Forum", with roles(admins, moderators, users) and policies(gates) etc. But for now you can maybe check my blog series.

    • @wilsonfernandes5623
      @wilsonfernandes5623 3 роки тому

      @@AngelJayAcademy OK! Thanks.

  • @mostafiz-xyz
    @mostafiz-xyz 10 місяців тому +1

    I need to understand user_id.
    I use the id on the user table.
    do i need to change id to user_id?

  • @yhafarsowhud
    @yhafarsowhud Місяць тому

    Thanks❤

  • @alexlytle089
    @alexlytle089 3 роки тому +2

    Thank you so much! I was looking for quality videos on this subject. Sir is the github repo for these lessons?

    • @AngelJayAcademy
      @AngelJayAcademy  3 роки тому

      Hi Alex, thanks you for you feedback. I only tried to upload the project videos to github

  • @yhafarsowhud
    @yhafarsowhud Місяць тому

    Thankz

  • @mostafiz-xyz
    @mostafiz-xyz 10 місяців тому

    How can i get the results
    Like
    Get all post from the posts table
    and category name.

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

    wasnt explained well but i have learned
    some good things

  • @mohamdalmhde1322
    @mohamdalmhde1322 3 роки тому

    just i hope you add controller to see how to use this relationship (create and get data )

    • @AngelJayAcademy
      @AngelJayAcademy  3 роки тому

      Hi, thanks for watching the lesson, the following link is for just that ua-cam.com/video/YNLrLwVz6dA/v-deo.html

  • @OnlyJavascript
    @OnlyJavascript 3 роки тому

    Hello Sir, I have a big request. Can u make CRUD operations using these relationship in detail? Thanks in advance

    • @AngelJayAcademy
      @AngelJayAcademy  3 роки тому +1

      Hi, not such a big request, in this series after all relationships, will add lessons on querying the relationships

    • @OnlyJavascript
      @OnlyJavascript 3 роки тому

      @@AngelJayAcademy thanks a lot. It's really big for me.

  • @alexlytle089
    @alexlytle089 3 роки тому

    Im a little confused you said you dont have to put a argument inside the constrained() method. But you ended up putting constraining it to the users table. What would be the default behavior? if you left it blank. Good lesson but this is not for beginners becuase you dont explain things like referential integrity which is why we use the cascade parameter and the meaning of unsignedBigInterger

    • @AngelJayAcademy
      @AngelJayAcademy  3 роки тому +1

      Very good point. Due to lesson length, I try not to explain everything. But we can maybe do a series where we explain different schema $table properties more in detail. But no promises.

  • @OnlyJavascript
    @OnlyJavascript 3 роки тому +1

    found this video. Lemme look at this. I hope this is not the same copy paste lectures. Will get back to comment section after watching it fully. I am really tired of copy paste coding.

    • @AngelJayAcademy
      @AngelJayAcademy  3 роки тому +1

      Hi, Hope you found it useful, i can understand your frustrations

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

    The explanation method is really really bad. I suspect it's the English language that's causing this issue.

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

    first guy to say give it a dislike