Display in VIEW of One to One relation in Laravel Relationship
问题 I am here again with a trouble understanding the correct way of doing Laravel Relationships I have this User Model public function concessionaire() { return $this->hasOne('App\Concessionaire', 'meternum', 'meternum'); } and Concessionaire Model public function user() { return $this->belongsTO('App\User', 'meternum', 'meternum'); } But when I try to display it in my view. the concessionaire data fields does not display.. In my Controller I have this $dataUser = User::where('usertype', '=',