我只想获取指定的字段,但是当我这样做时:
$criteria = new CDbCriteria();
$criteria->condition = 't.DeletionMark = 0';
$criteria->select = 't.Description, address.Description, city.Description';
$data = WCatalogInternetCounterparties::model()->with('internetCounterpartyAddresses.address.city')->findAll($criteria);
Active Record 使用 select Condition 中的所有字段生成查询