Closed ahmadazimi closed 8 years ago
Hi there,
Is there any way to disable cache temporarily for a specific query?
for example:
$role = $this->repo->disableCache()->findAll();
Hi @ahmadazimi Yup, you can do so as follows:
// Disable cache for this individual query $repository->setCacheLifetime(0);
Feel free to comment or re-open this issue if you need any further assistance 😉
Hi there,
Is there any way to disable cache temporarily for a specific query?
for example: