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 236 forks source link

Returning model instead of row count #97

Open alexanderkroneis opened 7 years ago

alexanderkroneis commented 7 years ago

Hello,

I am using your repository implementation and tried to update or delete some database records. On update it returns the row count, but I need the model instead - how can I handle it? At the moment I am updating and reading from the database afterwards to return the model.

jbossin commented 7 years ago

Have you tried debug the system an saving files an reboting the file . Or use an injector to bypass then reverse the issue with the fixed logic.