摘要: 查询单条数据$sql = "SELECT `name` FROM `table` WHERE id='7'";$users=Yii::$app->db->createCommand($sql)->queryOne();查询多条$sql = "SELECT `name` FROM `table` WH 阅读全文
posted @ 2021-08-05 12:11 浮尘微光 阅读(560) 评论(0) 推荐(0) 编辑