$count = $order_mod
->alias('a')//别名,相当于AS a
->field('a.*,b.realname')
->join($this->prex.'member b ON a.uid=b.mid','LEFT')
->where($where)
->order('add_time DESC')
->select();
TP的左联接
猜你喜欢
转载自blog.csdn.net/luojian3186/article/details/80051505
今日推荐
周排行