(1) Many-to-many relationship creation function
· Implement the contents of addManyToManyRelation ()
· The name of a new pivot model is
source_model.name + target_model.name
It becomes target_model.name + source_model.name.
※ Which comes first will be decided in ascending order.
Also, the pivot model,
It has two schema named [source_model.name] _id and [target_model.name] _id.
This completes the implementation of the many-to-many relationship.
Next time we will implement Export JSON.