开发者

CakePHP Model Association question

开发者 https://www.devze.com 2023-02-01 03:15 出处:网络
Must association betwe开发者_开发百科en 2 models be specified in both direction?No, technically you only need to specify the associations between models in the directions you are going to use. If you

Must association betwe开发者_开发百科en 2 models be specified in both direction?


No, technically you only need to specify the associations between models in the directions you are going to use. If you are never going to use an association in a certain direction, then you do not need to specify it.

0

精彩评论

暂无评论...
验证码 换一张
取 消