0
条款我有这个疑问其中警予
$res = propertyDetail::find()
->joinWith('propertyImages')
->all();
$res = $res->where(['pkPropertyIDPrimary' => 1]);
动态查询我收到此错误:
Call to a member function where() on array
此查询包含一个属性图片和财产明细记录。现在我想在这个动态中添加一个where子句。
我该怎么做?
由于ANS先生 –