yii1通过模型model创建查询语句,得到CDbDataReader结果
$modelVF = new Visitors;
$builder = $modelVF->getCommandBuilder();
$command = $builder->createFindCommand($modelVF->tableName(), $criteria);
$posts = $command->query();
版权属于:Joyber
本文链接:https://blog.qqvbc.com/default/1215.html
转载时须注明出处及本声明