Open suvarivaza opened 2 years ago
SELECT * FROM table1 USE INDEX (col1_index,col2_index)
use fromRaw(), for example:
fromRaw()
(new QueryFactory(self::Type)) ->newSelect() ->fromRaw("`{$table}` FORCE INDEX (index_name)") ->cols($columns) ...
SELECT * FROM table1 USE INDEX (col1_index,col2_index)