Introduction to the Query Builder | Full Laravel 9 Course | Laravel For Beginners | Learn Laravel

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

КОМЕНТАРІ • 24

  • @ARSHADKHAN-hc6pb
    @ARSHADKHAN-hc6pb 2 роки тому +2

    Welcome back ☺️

  • @mahoke
    @mahoke 2 роки тому +1

    You continued! Great series so far

  • @amanprasadoo7
    @amanprasadoo7 Рік тому +1

    In migrations chapter you should also teach about rollback particular table and updating migrations also.
    It's very helpful as dev.

    • @codewithdary
      @codewithdary  Рік тому +1

      That's definitely a topic but there are too many that I simply can't cover in one video :(
      Thank you anyways!

  • @llBestBoyll
    @llBestBoyll 2 роки тому +1

    Nice 🙏🏼🔥

  • @radyawser4963
    @radyawser4963 2 роки тому +1

    Wait to see Eloquent function🙂

  • @elexis2725
    @elexis2725 Рік тому +1

    What extensions are you using for autocompletion and database preview

    • @codewithdary
      @codewithdary  Рік тому +1

      Here are all the extensions I used in this course: ua-cam.com/video/KAUxgUvC514/v-deo.html

  • @kirankumars7901
    @kirankumars7901 2 роки тому

    Fabulous 👌

  • @09BoLLo06
    @09BoLLo06 Рік тому +1

    whats the benefit of using method chaining instead of writing conventional queries using the DB:: facade? Is it somehow more secure/faster, or is method chaining just a wrapper for "easier" usage?

    • @codewithdary
      @codewithdary  Рік тому +1

      Depends on the amount of data you are working with. If you have huge amount of data, using the DB Facade is a lot faster than Eloquent.. From performance tests, inserting 1000 rows in a simple table takes Eloquent 1.2 seconds whereas the DB facade takes only 800 milliseconds.

  • @eldoradokolade
    @eldoradokolade 2 роки тому

    Thank you boss 😊❤️

    • @eldoradokolade
      @eldoradokolade 2 роки тому

      This is a really detailed explanation of the Query builders. Thank you so much 🥺✨❤️

  • @VKMilling
    @VKMilling Рік тому +1

    1 issue I did notice here is that the timestamp fields for created_at and updated_at were not populated when doing the insert query.

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

      The insert() method in Laravel does not add the created_at and updated_at fields by default, while the update() method does. This is because these fields are typically used for tracking changes to a record, and it makes sense to add them when creating a new record.

  • @radybmcs6516
    @radybmcs6516 2 роки тому +1

    Could you do more on Eloquent function please

    • @codewithdary
      @codewithdary  2 роки тому +1

      Will be coming in this course :)

  • @sajadsalamian6953
    @sajadsalamian6953 Рік тому +1

    what is your database extension?