2017-12-08 19:14:37 2602次浏览 4条回答 0 悬赏 10 金钱

A表和B表,没有表间关联关系。
但是A表的 A.uid=B.uid
如果想通过这个uid进行关联查询,用ActiveDataProvider和Pagination查询时都会提示没有主键或者没有关联关系
这样的查询不能用yii自带的查询类吗???

您需要登录后才可以回答。登录 | 立即注册
whatupwoman
总监

whatupwoman

注册时间:2017-11-20
最后登录:2019-03-08
在线时长:18小时35分
  • 粉丝5
  • 金钱3690
  • 威望0
  • 积分3870

热门问题