生成sql查询竟然有限制 : LIMIT 1000
orm代码:
```go
_, err := o.QueryTable(table).Filter("role_id", 0).All(&workers)
```
对应 sql 查询记录:
```
[ORM]2019/08/24 15:15:59 -[Queries/default] - [ OK / db.Query / 9.5ms] - [SELECT T0.`id`, T0.`user_name`, T0.`real_name`, T0.`user_id`, T0.`phone`, T0.`number`, T0.`bank_num`, T0.`password`, T0.`salt`, T0.`sex`, T0.`role_id`, T0.`permission_id`, T0.`factory_id`, T0.`email`, T0.`status`, T0.`on_process_id`, T0.`last_login_time`, T0.`last_ip`, T0.`create_time`, T0.`update_time` FROM `sf_user` T0 WHERE T0.`role_id` = ? LIMIT 1000] - `0`
```
有疑问加站长微信联系(非本文作者))