Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
Master Laravel, optimized database queries
ยท
Module 3
Advanced Eloquent ORM
1
Eloquent Accessors, Mutators, and Attribute Casting
Apply accessors, mutators, and attribute casting to transform model data.
2
Query Scopes: Local and Global
Implement local and global query scopes to create reusable query constraints.
3
Polymorphic Associations: Flexible Data Structures
Define and query polymorphic relationships for flexible data structures.
4
Advanced Subqueries & Relationship Queries
Utilize subqueries and advanced relationship queries (whereHas, withCount) for complex lookups.
5
N+1 Query Problem: Eager Loading with 'with'
Identify the N+1 query problem and resolve it using eager loading ('with').
6
Optimizing Eloquent Queries with Constrained Eager Loading
Use constrained and nested eager loading for optimizing complex relationship queries.
7
Implementing Soft Deletes
Implement soft deletes to manage non-destructive record removal.
Previous module
Database Schema Design & Migrations
Next module
MSSQL Integration & Query Building