force 方法用于數(shù)據(jù)集的強制索引操作,例如:
Db::table('think_user')->force('user')->select();
對查詢強制使用user索引,user必須是數(shù)據(jù)表實際創(chuàng)建的索引名稱。
force 方法用于數(shù)據(jù)集的強制索引操作,例如:
Db::table('think_user')->force('user')->select();
對查詢強制使用user索引,user必須是數(shù)據(jù)表實際創(chuàng)建的索引名稱。
Copyright ? 2016-2024 EyouCMS 版權(quán)所有 瓊ICP備2022012578號-6 瓊公網(wǎng)安備46010602000484號
網(wǎng)站地圖 XML地圖 小程序模版網(wǎng)