Query Builder | Laravel For Beginners | Learn Laravel

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • This video will show you how to use Laravel’s database query builder to run database queries in Laravel - Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.
    📚 New Udemy Course
    If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: www.udemy.com/...
    📲 Let’s plan a meeting
    Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews or a coaching session for Laravel. Please read the description before booking: calendly.com/c...
    💌 Newsletter
    Sign up for my free weekly email newsletter: www.newsletter...
    🔥 Resources
    PHP Hosting (10% DISCOUNT): www.hostinger....
    TikTok: / codewithdary
    Instagram: / codewithdary
    Twitter: / codewithdary
    Blog: blog.codewithd...
    Newsletter: newsletter.cod...
    Patreon: www.patreon.co...
    GitHub: github.com/cod...
    Want to learn more?
    Courses: / @codewithdary
    #laravel #laravel8 #php #query #sql

Комментарии • 49

  • @codewithdary
    @codewithdary  2 года назад

    LETS CONNECT THROUGH INSTAGRAM.
    instagram.com/codewithdary

  • @RalphJoachimLux
    @RalphJoachimLux 3 года назад +7

    Your „style“ of explaining stuff is simply outstanding.

    • @codewithdary
      @codewithdary  3 года назад

      Whoaa, appreciate it Ralph, you just made my day :D

  • @oanacristea2572
    @oanacristea2572 2 года назад +2

    Great starting!!! The ‘why’ using query builder 👏🏼👏🏼👏🏼 So well explained. Thanks, Dary!!

  • @techjavaid6177
    @techjavaid6177 3 года назад +1

    The way you explain things are out of the box..no RUclipsr explain such a way...you're a gem man..keep rocking and make awesome videos like this...

  • @RuleSuccess.
    @RuleSuccess. 2 года назад +2

    Thank you man i really appreciate that you save me i was searching for someone explain this and you the only one hou explain really simple and goood ❤

    • @codewithdary
      @codewithdary  2 года назад +1

      Lovely. I just released a new video related to the query builder if you are interested :)

  • @shafiu283
    @shafiu283 3 года назад +1

    I like your teaching style, precise and straight to the point

  • @atkinh123
    @atkinh123 2 года назад +3

    Could you numbered for each video in playlist? ex: "Laravel 8 For Beginners #21 - Query Builder"

  • @brokersadda-tv
    @brokersadda-tv 3 года назад +1

    Hi. I have a small issue. I has XAMPP installed on iMac before starting laravel 8. I did laravel installation as per your instructions. Everything is going fine in laravel. But today I started xampp for one of my php project and found that Mysql is not starting ? There seems to be some conflict. Can you help to resolve this ? In my case I will need xampp also.

  • @sreydevith
    @sreydevith 3 года назад +1

    thanks, teacher for your sharing in these videos is so important to me

  • @romel3260
    @romel3260 3 года назад

    very nice vid. question though: security-wise, what would be better to implement: crud using code directly in the app, or crud using stored functions/procedures in the database itself, then calling them from the app? i'm a newbie to laravel, btw.

    • @codewithdary
      @codewithdary  3 года назад

      I’m very happy of the fact that you think about security! But keep in mind that Laravel protects you from SQL injection as long as your using fluent query builders (or Eloquent).
      Laravel also protects you from cookies when you generate a new application key (key:generate command).
      Using the CSRF token will also protect your application from a CSRF attack through forms.
      A tip would be to be careful with mass assignment in Laravel, since it might be vulnerable.

  • @verdemis
    @verdemis 3 года назад

    I didn't test it, but isn't the return value of an update the amount of rows which were affected? And not an boolean?
    Great series btw

    • @codewithdary
      @codewithdary  3 года назад

      You are right! number of rows affected (or true/false if creating)

  • @tameramer1465
    @tameramer1465 3 года назад +1

    Vielen Dank Dery. Sie Sind der Beste.

  • @aliveburied1712
    @aliveburied1712 3 года назад

    your explanation is very clear and useful. Thank you for your great effort.

  • @henriquehims
    @henriquehims 2 года назад +1

    Very very good! Thanks

  • @raheelanwaar2812
    @raheelanwaar2812 2 года назад +1

    Hi sir I have a question
    Can I pass a veriable in where clause from db like:
    Where ('transaction_id', $transaction_id)->get();

    • @codewithdary
      @codewithdary  2 года назад

      Yes, you definitely can! Read more about it right here: laravel.com/docs/9.x/queries#basic-where-clauses

  • @JunaidAli480
    @JunaidAli480 2 года назад +1

    How to got the list when you type DB:: can you tell me the extension name please?

  • @issamtaki7302
    @issamtaki7302 3 года назад +1

    You should make some videos about how to become on the top of the search engine youtube :p , either way you're awesome

    • @codewithdary
      @codewithdary  3 года назад +2

      Am I? No right? Haha! That’s definitely a good idea for in the future.

  • @PriyankPatelDroid
    @PriyankPatelDroid 3 года назад +1

    Please guide me ... when we use get() we get a collection.so how can i extract data from collection and assign them to a variable ?

    • @codewithdary
      @codewithdary  3 года назад

      If that's what you want to do with it, yes.If you use all(), get() methods then you'll get a collection object, it means a collection of User models when you use these methods on User model and remember all() and get() always returns a collection of models even if there is only one model in it.

  • @bravehotsauce
    @bravehotsauce 4 месяца назад

    thanks!

  • @bayupurnama6598
    @bayupurnama6598 3 года назад +1

    thank you...

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw2490 3 года назад +1

    Wonderful content!!!

  • @rajabhishek2936
    @rajabhishek2936 3 года назад

    How to make crud genrator using laravel can u help me dary?btw awosem video

    • @codewithdary
      @codewithdary  3 года назад +1

      Next video will be a good one for you! :)

  • @devithsrey2139
    @devithsrey2139 3 года назад

    Excuse me teacher, next time. Please teach about livewire, the students are need to research it, please help for us,thanks

  • @Bebe-sg4mg
    @Bebe-sg4mg 3 года назад +1

    thanks..

  • @ForzaPilot
    @ForzaPilot 3 года назад +1

    Not to be picky, but if I was pronouncing a word incorrectly in Dutch I'd want you to tell me.
    The word facades is pronounced 'fah-sods'.
    It is not pronounced 'fay-kayds'.

    • @codewithdary
      @codewithdary  3 года назад +1

      Love the feedback bud, thanks man!!

    • @ForzaPilot
      @ForzaPilot 3 года назад

      @@codewithdary Your videos are very helpful, keep up the good work!

  • @FernandoJoseYARASCAMARTINEZ
    @FernandoJoseYARASCAMARTINEZ 11 месяцев назад +1

    no entiendo ni michi😁😄🤣🙄

  • @climatebabes
    @climatebabes 3 года назад

    kwewy?