I have appended the versioning bundle in midway of my project after having written most of my raven queries in my data access layer. Now because of versioning i have lots of replicated data. Whenever i query a type of document i can see the values replicated as many times as the document is versioned. Is there way to stop querying the re-visioned documents when i query for the current data in common without re-writing all of my queries with Exclude("Revisions").Is there any setting where i can say query on re-visioned document =False which i can set globally? please suggest something to overcome this..

有帮助吗?

解决方案

That is the way it works, actually. It appears that you have disabled the versionning bundle, which would cause this to happen.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top