$cacheQueries doesn't appear to be having any effect - help!!

2007-01-22 Thread quincy
Hi, I am calling the same SQL query using $this-Model-query() twice within one controller action, with an update to the same table between, and despite having set $cacheQueries to false in all my models i still seem to get the same results. I have to add an extra SORT BY xyz onto the second

Re: $cacheQueries doesn't appear to be having any effect - help!!

2007-01-22 Thread Grant Cox
This has been logged on trac - query() does not look at the Model-cacheQueries property. To ensure that query() calls are not cached, put false as the second parameter - ie: $this-Model-query( $sql, false ); --~--~-~--~~~---~--~~ You received this message