mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
551 B
551 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can use Eloquent `whereColumn()` to compare columns to each other | 1538579121193701377 | weekly-thread-2022-24 | LupinityLabs |
|
2022-06-19T17:47:02+00:00 | 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! 😊