聚合模型

浏览:368 发布日期:2018/12/28 分类:求助交流 关键字: 聚合模型
按照手册设置了聚合模型
//链接与 database 配置不同的数据库
protected $connection = [
'database'=>'tp5'
];

//关联设置
protected $relationModel = ['Profile'];
protected $fk = 'manager_id';
protected $mapFields = [
'id'=>'Manager.id',
'profile_id'=>'Profile.id'
];


我在执行修改save操作的时候报错, Table 'xxx.profile' doesn't exist
最佳答案
评论( 相关
后面还有条评论,点击查看>>