#### 原生SQL语句
用以下方法防止QL注入.
```
$sql = 'select * from info where id=:id';
$res = Info::findBySql($sql,[':id'=>10])->all(); //返回的是一个包含模型类实例的数组
```
#### 链式调用
```
Info::find()->where(['>', 'id', 10])->all(); //注意运算符放在第一位
```
#### 批量查询
