Sorry for my English.
You can do this before executing  query, in your model;
$db =& ConnectionManager::getDataSource($this->useDbConfig);
$db->_queryCache = array();
$this->model->query();
But this will clear all cached queries
On Jun 22, 5:21 pm, Dmitry Shevchenko <[email protected]> wrote:
> Hi !
> Is there any way to disable caching for $this->model->query()
> I have used
> $this->MyModel->cacheQueries = false;  and same setting in model   var
> $cacheQueries = false;
> but seems that this isn't work
>
> Does anyone knew some workaround for this?
> p.s. I use CakePHP 1.2.5
>
> Thanks for your help.

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

Reply via email to