Hello
I want force use mysql multiple-field index.
Mysql don't use multiple-field index in my query.
How I can add USE INDEX to the Model->find() method?

After call Model->find() method
Cakephp executed this query
SELECT * FROM `table` where a=1 AND b>2 ORDER BY b

How I can add USE INDEX into query?
It must be so:
SELECT * FROM `table` USE INDEX(two_field_multiple_index) where a=1
AND b>2 ORDER BY b

Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to