We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.4.3
比如商品,订单关系。那中间表:订单商品表,就应该是有两个外键。good_id, order_id。 这里有两个问题。 1:我只在一张表(订单表) 看到对应的附表。商品表没看到对应的附表。如图1,2,3 2:基于这种多对多的设计,订单商品表里面如何自动展示对应的商品名称,商品价格。我在功能测试中只能对应到具体的商品id。 如图4:
问题1: 图1:
图2:
图3:
问题2: 图4:
友情提示: 未按格式要求发帖,会直接删掉。
The text was updated successfully, but these errors were encountered:
暂时不支持多个外键,后期优化
归集到#1312
Sorry, something went wrong.
No branches or pull requests
版本号:
2.4.3
问题描述:
比如商品,订单关系。那中间表:订单商品表,就应该是有两个外键。good_id, order_id。
这里有两个问题。
1:我只在一张表(订单表) 看到对应的附表。商品表没看到对应的附表。如图1,2,3
2:基于这种多对多的设计,订单商品表里面如何自动展示对应的商品名称,商品价格。我在功能测试中只能对应到具体的商品id。
如图4:
截图&代码:
问题1:
图1:
图2:
图3:
问题2:
图4:
友情提示: 未按格式要求发帖,会直接删掉。
The text was updated successfully, but these errors were encountered: