【发布时间】:2015-10-24 17:17:35
【问题描述】:
使用“slc loopback:relation”定义关系时,在最后一行提示“through model”。
? Select the model to create the relationship from: CoffeeShop
? Relation type: has many
? Choose a model to create a relationship with: Reviewer
? Enter the property name for the relation: reviewers
? Optionally enter a custom foreign key:
? Require a through model? No
有人能简单解释一下什么是直通模型吗? 一些例子将不胜感激。
【问题讨论】:
标签: loopbackjs strongloop