Laravel 11.22 introduces a new feature, Eloquent inverse relations, contributed by Samuel Levy, to address the N+1 query problem. This feature allows for more efficient querying by using an 'inverse' relationship, reducing the number of database queries needed when accessing related models. It simplifies the process of managing relationships in Laravel and helps prevent circular references. Significant discussions and debates went into its development, which included contributions from Taylor Otwell at Laracon US.
•4m watch time
Sort: