Friday, November 26, 2010

Using USE INDEX or FORCE INDEX in Model->find & relationships

Just wondering if anyone has any suggestions on this.

I'm using Cake for a current project and the project lead is insisting
we use FORCE INDEX on the queries and table joins.

I've searched all over the web and come up empty handed so far and
don't particularly want to hand code all the sql queries in Model-
>query().

I have looked at the core and managed to hack it to get the desired
results, but its a nasty hack and not sustainable through upgrades of
the Cake core code.

Anyone have any suggestions, they would be greatly appreciated!

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: