Angularで作るER DIAGRAM TOOL – 第十三回 many-to-manyのリレーション作成の実装

(1) Many-to-many relationship creation function


· Implement the contents of addManyToManyRelation ()

· The name of a new pivot model is +
It becomes +
※ Which comes first will be decided in ascending order.

Also, the pivot model,
It has two schema named [] _id and [] _id.


This completes the implementation of the many-to-many relationship.
Next time we will implement Export JSON.