Laravel Eloquent: how to get related records via whereHas() method?
|Added at||2016-12-30 23:12|
For example, I can check every post with concrete date.
But suppose, what to do, if I want to compare a post model date (created_at) with the date attribute of user model?
upd. I use Eloquent outside of Laravel.