Revisions API Overview



Revisions Store Operations

Revisions Session methods

  • Loading revisions and their metadata
    • GetFor
      Use this method to retrieve all the revisions that are kept for a specified document.
    • GetMetadataFor
      Use this method to retrieve metadata for all revisions kept for a specified document.
    • Get
      Use this method to retrieve revisions by change vector or creation time.
    • Read here about the lazy versions of GetFor, GetMetadataFor, and Get.
  • Counting Revisions
    • GetCountFor
      Use this method to count the revisions kept for a document.
  • Including revisions
    • IncludeRevisions
      Use this method to include document revisions when retrieving documents via Session.Load or Session.Query.
    • RawQuery
      Learn here how to include revisions with documents retrieved via raw queries.