To get all rows from a table, I have to use Model::all() but (from good reason) this doesn't gives me back the soft deleted rows. Is there a way I can accomplish this with Eloquent?
Model::all()
To also get soft deleted models
$trashedAndNotTrashed = Model::withTrashed()->get();
Only soft deleted models in your results
$onlySoftDeleted = Model::onlyTrashed()->get();
1.4m articles
1.4m replys
5 comments
57.0k users