You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2025. It is now read-only.
I'm using SoftDeletes on my model and if I try to query trashed models it doesn't seem to work.
First I've tried this:
It says there is no method
withTrashed()on my repository. Then I tried to make criteria:...but it says there is no method
withTrashed()on Builder class. It seems$modelhere is the query builder, not the model itself.Same goes for
onlyTrashed(). Is there any way to use these methods with your Repository package?