Support for Model.has() method
sdispater opened this issue · comments
Sébastien Eustace commented
Eloquent should support a has
method on models to do things like this:
posts = Post.has('comments').get()
posts = Post.has('comments', '>=', 3).get()