小编Zho*_*Nan的帖子

"通过模型"在环回中意味着什么?

当使用"slc loopback:relation"定义关系时,它会在最后一行提示"直通模型".

? 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
Run Code Online (Sandbox Code Playgroud)

有人可以简单解释一下直通模型是什么吗?一些例子将不胜感激.

strongloop loopbackjs

14
推荐指数
1
解决办法
3502
查看次数

标签 统计

loopbackjs ×1

strongloop ×1