i have this relation inside CompanyM node
public function work()
{
return $this->hasMany('App\Models\CompanyM', 'WorkedAt');
}
and i am trying to get the edge like this
$w = $items->work()->edges($w);
w is a CompanyM node
but i got an empty value
any help?
thanks
i have this relation inside CompanyM node
public function work()
{
return $this->hasMany('App\Models\CompanyM', 'WorkedAt');
}
and i am trying to get the edge like this
$w = $items->work()->edges($w);
w is a CompanyM node
but i got an empty value
any help?
thanks