一、数据库查询 $sql='select * from test where id=:id'; $results=Test::findBySql($sql,[':id'=>1])->all(); $results=Test::find()->...阅读更多
2016
十一
26
一、数据库查询 $sql='select * from test where id=:id'; $results=Test::findBySql($sql,[':id'=>1])->all(); $results=Test::find()->...阅读更多