gpt4 book ai didi

php - CakePhp 在一个自定义模型中访问多个表

转载 作者:行者123 更新时间:2023-11-30 22:56:34 24 4
gpt4 key购买 nike

<分区>

您好,亲爱的 StackOverflowers,我是 Cake PHP 的新手。我想在同一模型中访问两个表学生和教师。怎么做 ? Cake bake 只为一个表生成 Controller 、模型和 View 。如果可以使用一个模型访问两个表,我不想使用第三个模型来访问它们。谢谢。

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com