Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
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