关联模型不能用C函数读取表前缀

浏览:472 发布日期:2014/01/19 分类:求助交流
'Group' => array(
'mapping_type' => self::MANY_TO_MANY,
'class_name' => 'Group',
'mapping_name' => 'groups',
'foreign_key' => 'userId',
'relation_foreign_key' => 'goupId',
'relation_table' => 'think_gourp_user' //此处应显式定义中间表名称,且不能使用C函数读取表前缀
)
不能用C函数这个只能这样了吗,还有没有其他解决法
最佳答案
评论( 相关
后面还有条评论,点击查看>>