Introduction to the Query Builder | Full Laravel 9 Course | Laravel For Beginners | Learn Laravel
This video will show you how to you could the query builder in Laravel – Want to learn the most popular PHP framework? Laravel makes your development process a lot easier without sacrificing your applications functionalities.
🔗 Useful links
- Query Builder: https://laravel.com/docs/9.x/queries
📚 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: https://www.udemy.com/course/mastering-laravel-10-query-builder-eloquent-relationships/?referralCode=C784C3DB5B8925207FCB
📲 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: https://calendly.com/codewithdary
💌 Newsletter
Sign up for my free weekly email newsletter: https://www.newsletter.codewithdary.com
🔥 Resources
- PHP Hosting (10% DISCOUNT): https://www.hostinger.com/codewithdary
- TikTok: https://www.tiktok.com/@codewithdary
- Instagram: https://www.instagram.com/codewithdary/
- Twitter: https://twitter.com/codewithdary
- Blog: https://blog.codewithdary.com/
- Newsletter: https://newsletter.codewithdary.com/
- Patreon: https://www.patreon.com/user?u=30307830
- GitHub: https://github.com/codewithdary/laravel-9-for-beginners
🔗 Useful links
- Laravel 8 Course: https://www.youtube.com/watch?v=376vZ1wNYPA&t
📋 Table of Content
00:00 - Introduction
01:25 - Defining the DB Facade
03:02 - Selecting all values from a table
03:58 - Parameter binding
05:34 - Persisting data
07:23 - Updating data
08:33 - Deleting data
09:14 - Method chaining: get()
10:30 - Method chaining: select()
11:19 - Method chaining: where()
13:40 - Method chaining: whereBetween()
14:32 - Method chaining: whereNotBetween()
14:49 - Method chaining: whereIn()
15:18 - Method chaining: whereNull() & whereNotNull()
16:26 - Method chaining: distinct()
17:44 - Method chaining: orderBy()
18:43 - Method chaining: skip() & take()
19:28 - Method chaining: inRandomOrder()
20:15 - Method chaining: first()
21:08 - Method chaining: find()
22:09 - Method chaining: count()
22:41 - Method chaining: min(), max(), sum() and avg()
#laravel #framework #php #laravel9