Support the ongoing development of Laravel.io →

unitedmonkeys

Joined 11 Jun 2014

Statistics

Threads 7
Replies 8
Solutions 0
Articles 0

Get data from an insert query?

I know you can get the insert id of a query with: $query->id But is there a way to get data back...

0 Likes
1 Replies

Outputting a non keyed array from query?

$data = Img::with(array('size'=> function($query){ $query->select('title', 'width', 'img_id'...

0 Likes
0 Replies

Soft Deleting with a Relationship

I have a book and author table. A author has many books. A book has one author. I wish to soft delet...

0 Likes
5 Replies

Location of resources and namespacing in packages.

My package needs controllers, models and views. I'm confused as to where these should be placed and...

0 Likes
0 Replies

Publishing a packages config file

I'm using this package inside my own package: https://github.com/aws/aws-sdk-php-laravel How would I...

0 Likes
2 Replies
replied 9 years ago

Soft Deleting with a Relationship

I managed to get rid of the error, so delete works but it's not soft deleting, it's removing the ent...

0 Likes
replied 9 years ago

Soft Deleting with a Relationship

Yep, the relationships are set up in the models.

0 Likes
replied 9 years ago

Soft Deleting with a Relationship

I have even tried a hack of just setting the delete_ at field with: date('Y-m-d H:i:s'); But still...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.