Support the ongoing development of Laravel.io →
SMills

SMills

Joined 3 Oct 2021

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0
3 Oct, 2021 at 09:00

Eloquent: get all non-trashed plus one specific trashed

How would I get a list of active Users plus a User that might be soft-deleted? Say, a salesperson is...

0 Likes 2 Replies
4 Oct, 2021 at 08:54

Eloquent: get all non-trashed plus one specific trashed

withTrashed returns all soft deleted users. I want all active users, plus the one that's (possibly)...

0 Likes

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

Your logo here?

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

© 2021 Laravel.io - All rights reserved.