I know you can get the insert id of a query with: $query->id But is there a way to get data back...
$data = Img::with(array('size'=> function($query){ $query->select('title', 'width', 'img_id'...
I have a book and author table. A author has many books. A book has one author. I wish to soft delet...
My package needs controllers, models and views. I'm confused as to where these should be placed and...
I'm using this package inside my own package: https://github.com/aws/aws-sdk-php-laravel How would I...
I managed to get rid of the error, so delete works but it's not soft deleting, it's removing the ent...
I have even tried a hack of just setting the delete_ at field with: date('Y-m-d H:i:s'); But still...
The Laravel portal for problem solving, knowledge sharing and community building.
The community