Skip to content

Instantly share code, notes, and snippets.

@asapostolov
Created January 30, 2014 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asapostolov/8705764 to your computer and use it in GitHub Desktop.
Save asapostolov/8705764 to your computer and use it in GitHub Desktop.
RavenDB index for getting all the conflicted documents from a database.
from doc in docs
where doc["@metadata"]["Raven-Replication-Conflict"]
select new { Id = doc.__document_id }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment