protected function joinBelongsTo(BelongsTo $relation)
    {
        return $this->instance->join(
            $relation->getRelated()->getTable(),
            $relation->getQualifiedOtherKeyName(),
            '=',
            $relation->getQualifiedForeignKey()
        );
    }
protected function joinBelongsTo(BelongsTo $relation)
    {
        return $this->instance->join(
            $relation->getRelated()->getTable(),
            $relation->getQualifiedOtherKeyName(),
            '=',
            $relation->getQualifiedForeignKey()
        );
    }
protected function joinBelongsTo ( BelongsTo $ relation ) { return $ this -> instance -> join ( $ relation -> getRelated ( ) -> getTable ( ) , $ relation -> getQualifiedOtherKeyName ( ) , '=' , $ relation -> getQualifiedForeignKey ( ) ) ; }
Join a belongs to relationship.

@param BelongsTo $relation

@return mixed
Join a belongs to relationship .