Hi Nima,

Some drivers just can't delete all keys; it's the case of Memcache which
only returns 100 keys for you.
Based on that, our solution is to internally create a "version", which we
increase if you call deleteAll().
That means that your key is something like:
<namespace>[<my_key>][<version>], where version = 1 until you call
deleteAll().
Once deleteAll() is called, we store version = 2 which will automatically
invalidate any cache existence when fetching for a given key.
This is the reason why deleteAll() has a save instead of a delete.

Cheers,

On Fri, Nov 21, 2014 at 9:48 AM, Nima Sadjadi <[email protected]> wrote:

> An older version is in API site, comparing with that one, I assume this is
> a bug in this newer version.
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Guilherme Blanco
MSN: [email protected]
GTalk: guilhermeblanco
Toronto - ON/Canada

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to