摘要: 在Yii的Model里进行查询的时候 where是必不可少的。 Where方法声明为static where( $condition )其中参数 $condition 类型为字符串或者数组1、字符串字符串是最简单的,直接按sql中的where条件写就可以,如$condition = 'name=\' 阅读全文
posted @ 2017-08-28 17:32 XXXX_易夫人 阅读(4114) 评论(0) 推荐(0) 编辑