bosnadev / repository

Laravel Repositories is a package for Laravel 5 which is used to abstract the database layer. This makes applications much easier to maintain.
https://bosnadev.com
825 stars 235 forks source link

how to use one to many or reverse in model and apply it to criteria #62

Open raditv opened 8 years ago

raditv commented 8 years ago

how to use one to many or reverse in a model and apply it to criteria? for example I want when a user logged in and show only movie that creted by related user