You can use Eloquent `whereColumn()` to compare columns to each other
- ·
- Telegram
- ·
- Newsletter
💡🟰 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! 😊