index方法为3.2.3版本新增,用于数据集的强制索引操作,例如:
$Model->index('user')->select();
对查询强制使用user索引,user必须是数据表实际创建的索引名称。
posted on 2019-11-06 15:05 佰草伐 阅读(124) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3