Query Builder | Laravel For Beginners | Learn Laravel

  Рет қаралды 24,334

Code With Dary

Code With Dary

3 жыл бұрын

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/course/masterin...
📲 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/codewithdary
💌 Newsletter
Sign up for my free weekly email newsletter: www.newsletter.codewithdary.com
🔥 Resources
- PHP Hosting (10% DISCOUNT): www.hostinger.com/codewithdary
- TikTok: / codewithdary
- Instagram: / codewithdary
- Twitter: / codewithdary
- Blog: blog.codewithdary.com/
- Newsletter: newsletter.codewithdary.com/
- Patreon: www.patreon.com/user?u=30307830
- GitHub: github.com/codewithdary
Want to learn more?
- Courses: / @codewithdary
#laravel #laravel8 #php #query #sql

Пікірлер: 49
@codewithdary
@codewithdary 2 жыл бұрын
LETS CONNECT THROUGH INSTAGRAM. www.Instagram.com/codewithdary
@RalphJoachimLux
@RalphJoachimLux 3 жыл бұрын
Your „style“ of explaining stuff is simply outstanding.
@codewithdary
@codewithdary 3 жыл бұрын
Whoaa, appreciate it Ralph, you just made my day :D
@oanacristea2572
@oanacristea2572 2 жыл бұрын
Great starting!!! The ‘why’ using query builder 👏🏼👏🏼👏🏼 So well explained. Thanks, Dary!!
@codewithdary
@codewithdary 2 жыл бұрын
Glad it was helpful!
@techjavaid6177
@techjavaid6177 3 жыл бұрын
The way you explain things are out of the box..no KZbinr explain such a way...you're a gem man..keep rocking and make awesome videos like this...
@codewithdary
@codewithdary 3 жыл бұрын
Thanks a ton :D
@atkinh123
@atkinh123 2 жыл бұрын
Could you numbered for each video in playlist? ex: "Laravel 8 For Beginners #21 - Query Builder"
@shafiu283
@shafiu283 3 жыл бұрын
I like your teaching style, precise and straight to the point
@codewithdary
@codewithdary 3 жыл бұрын
Thank you Shafiu!
@RuleSuccess.
@RuleSuccess. 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 жыл бұрын
Lovely. I just released a new video related to the query builder if you are interested :)
@aliveburied1712
@aliveburied1712 3 жыл бұрын
your explanation is very clear and useful. Thank you for your great effort.
@codewithdary
@codewithdary 3 жыл бұрын
You are welcome! :D
@tameramer1465
@tameramer1465 3 жыл бұрын
Vielen Dank Dery. Sie Sind der Beste.
@codewithdary
@codewithdary 3 жыл бұрын
Bitte tamer!
@bravehotsauce
@bravehotsauce Ай бұрын
thanks!
@henriquehims
@henriquehims 2 жыл бұрын
Very very good! Thanks
@codewithdary
@codewithdary 2 жыл бұрын
Thank you for watching HIMS!
@sreydevith
@sreydevith 2 жыл бұрын
thanks, teacher for your sharing in these videos is so important to me
@codewithdary
@codewithdary 2 жыл бұрын
Thank you for watching :)
@bayupurnama6598
@bayupurnama6598 3 жыл бұрын
thank you...
@codewithdary
@codewithdary 3 жыл бұрын
You're most welcome
@Bebe-sg4mg
@Bebe-sg4mg 3 жыл бұрын
thanks..
@codewithdary
@codewithdary 3 жыл бұрын
You're welcome!
@brokersaddatv
@brokersaddatv 3 жыл бұрын
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.
@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)
@PriyankPatelDroid
@PriyankPatelDroid 3 жыл бұрын
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.
@issamtaki7302
@issamtaki7302 3 жыл бұрын
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 жыл бұрын
Am I? No right? Haha! That’s definitely a good idea for in the future.
@rajabhishek2936
@rajabhishek2936 3 жыл бұрын
How to make crud genrator using laravel can u help me dary?btw awosem video
@codewithdary
@codewithdary 3 жыл бұрын
Next video will be a good one for you! :)
@raheelanwaar2812
@raheelanwaar2812 2 жыл бұрын
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 жыл бұрын
How to got the list when you type DB:: can you tell me the extension name please?
@codewithdary
@codewithdary 2 жыл бұрын
PHP Intelephense!
@josuebarros-desenvolvedorw2490
@josuebarros-desenvolvedorw2490 3 жыл бұрын
Wonderful content!!!
@codewithdary
@codewithdary 3 жыл бұрын
Glad you think so!
@devithsrey2139
@devithsrey2139 2 жыл бұрын
Excuse me teacher, next time. Please teach about livewire, the students are need to research it, please help for us,thanks
@climatebabes
@climatebabes 3 жыл бұрын
kwewy?
@ForzaPilot
@ForzaPilot 2 жыл бұрын
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 2 жыл бұрын
Love the feedback bud, thanks man!!
@ForzaPilot
@ForzaPilot 2 жыл бұрын
@@codewithdary Your videos are very helpful, keep up the good work!
@user-bd2ec7tj4m
@user-bd2ec7tj4m 9 ай бұрын
no entiendo ni michi😁😄🤣🙄
@codewithdary
@codewithdary 9 ай бұрын
Ok
Introduction To Eloquent | Laravel For Beginners | Learn Laravel
45:20
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 17 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 4,3 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,7 МЛН
Eloquent vs Query Builder vs SQL: Performance Test
5:37
Laravel Daily
Рет қаралды 49 М.
Eloquent or Query Builder: When to Use Which?
5:48
Laravel Daily
Рет қаралды 87 М.
Build a Database Query Builder like Laravel in 7 minutes
6:56
AMIR KAMIZI
Рет қаралды 2,3 М.
NextJS and Laravel Can Be Friends
23:54
Laravel
Рет қаралды 19 М.
Laravel Eloquent: Deeper Relationships with One Query
10:37
Laravel Daily
Рет қаралды 138 М.
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 17 МЛН