Open
Description
There doesn't seem to be a way to ensure that findOneById
gets its value directly from the database. If TTL is unset, then the read will not populate the cache after fetching the document, but it will always try to get the key from the cache regardless of the value of TTL.
Is there a particular reason why this behavior is not supported? Sometimes when a use-case isn't supported, it makes me think I'm barking up the wrong tree. However, it seems reasonable to want to ensure that a given query gets the latest value from mongodb, even if a subsequent load was issued with a non-zero TTL.
Thoughts?