sdispater / eloquent

The Eloquent ORM provides a simple yet beautiful ActiveRecord implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Model.has() method

sdispater opened this issue · comments

Eloquent should support a has method on models to do things like this:

posts = Post.has('comments').get()

posts = Post.has('comments', '>=', 3).get()