I am new to laravel and making a basic application to get a grip on relationships.I have implemented one to one relationship and want to get specific columns from both the b
One of the solution would be just making a new relation similar to that you have made, but tweaking it a bit, for conviniece :
public function identity_cards_limited() { return $this->hasOne('IdentityCard')->select('desired_column'); }