-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
I keep getting surprised by errors in my application because I have used the only() method to limit the fields returned, while later trying to query the same document.
I think it is getting placed in the identity map, on the first query, and later retrieved out of the identity map. The issue is that when it is retrieved out of the identity map, it doesn't contain the fields I am needing.
So my question is this: Would it be possible to, by default, skip the identity map for queries using only()?