This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Maciej
Hi guys, Can't find solution for this one. I have one Model with relation
public $belongsTo = [
'container' => ['Project\Campaign\Models\Container']
];
Some of Container elements are sof deleted. Normally I would use ->withTrashed(). But here I want to select Model and it's relation, and totally don't know how to do it.
Should I override it somehow?
Last updated
1-1 of 1