← Go Back
DB
Join our Newsletter or
our RSS Feed
Curated by
Simplest Web
Latest Resources
Articles
Apr 03
How to find the slowest query in your Laravel application
#db
#intermediate
#performance
Articles
Apr 05
Function-Based Indexes
#advanced
#db
Tips
Apr 04
Temporarily disable timestamps when saving a model
#db
#eloquent
#intermediate
Tips
Apr 05
Accept soft deleted models using `withTrashed()` on a route
#db
#intermediate
#routing
Tips
Mar 25
Constrained eager loading to increase performance of database queries that use relations
#best practices
#db
#eloquent
#intermediate
Tips
Mar 28
Use `whereBetween` to filter for records between two timestamps
#db
#intermediate
#query builder
Tips
Mar 29
Difference between `fresh()` and `refresh()` on Eloquent models
#db
#eloquent
#intermediate
Articles
Mar 27
Magic search & filter on Laravel Eloquent with Trait
#db
#eloquent
#intermediate
Tips
Mar 23
Generate a series of dates in a given range right at the database level
#advanced
#db
#mysql
Videos
Mar 27
Eloquent withSum Extra Calculation: SubSelect with Raw Query
#db
#eloquent
#intermediate
Tips
Mar 16
Validate data at the database level
#advanced
#db
#validation
Tips
Mar 17
You can use `pluck` directly on Eloquent models
#db
#eloquent
#intermediate
Articles
The value of a good database model
#best practices
#db
#eloquent
#intermediate
Articles
Mar 15
Logical Grouping in Laravel Query Builder
#db
#eloquent
#intermediate
#query builder
Articles
Mar 08
Laravel API Series: Setup, Database, Migrations, and Models
#api
#db
#intermediate
#migrations
Tips
Mar 08
Use the $touches property to update the parent timestamp when a child is updated
#db
#eloquent
#intermediate
Tips
Mar 09
You can convert an Eloquent collection back to an Eloquent Query builder
#db
#eloquent
#intermediate
Tips
Mar 09
The order of columns in multi-column indices matters
#advanced
#db
#mysql
Articles
Feb 24
Laravel Eloquent Advices for Large Tables
#advanced
#best practices
#db
Questions
Mar 07
How would you design a database that stores different attributes depending on the type of the entity?
#best practices
#db
#intermediate
Articles
Common SQL errors for Laravel Developers
#advanced
#db
#error handling
← Previous
Next →
Join our Newsletter