Question

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..

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top