基于关联模型的查询
2017-11-18 本文已影响0人
搁浅_6a34
wherehas("comment",function($query){
$query ->…
})
with ("comment"=>function($query){
$query ->…
})
withcount 同上
load 同上
wherehas("comment",function($query){
$query ->…
})
with ("comment"=>function($query){
$query ->…
})
withcount 同上
load 同上