You can use Eloquent `whereColumn()` to compare columns to each other

You can use Eloquent `whereColumn()` to compare columns to each other

💡🟰 Quick #Laravel Eloquent tip for comparing database columns to each other within a query.

You don't have to use any raw statements to do this - whereColumn() has got you covered! 😊

We're writing a book, you can get it for free here.