Consider a scenario where there is a Guardian entity connected to a Student entity. The goal is to establish their many-to-many relationship in TypeORM by introducing a new entity called StudentGuardianRelationship. This intermediary entity serves the purpose of defining the type of relationship a guardian shares with a student, such as parent, aunt, grandparent, and more.
In Rails' ActiveRecord framework, this functionality is achieved using 'through':
http://guides.rubyonrails.org/association_basics.html#the-has-many-through-association
Is there a similar feature supported by TypeORM, or is the only approach to establish oneToMany relationships between Student-Guardian pairs and the StudentGuardianRelationship entity?