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.

Home Page:https://bosnadev.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Returning model instead of row count

alexanderkroneis opened this issue · comments

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.

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.