Revisions Client API Overview



Revisions Store Operations

Revisions Session methods

  • Get revisions:

    • getFor - retrieve all revisions kept for a document.
    • getMetadataFor - retrieve metadata for all revisions kept for a document.
    • get - retrieve revisions by change vector or creation time.
    • Read here about lazy versions of getFor, getMetadataFor, and get.

  • Include revisions:

    • includeRevisions - include revisions when retrieving documents via session.load or session.query.
    • rawQuery - Learn how to include revisions when retrieving documents via raw queries.

  • Count revisions:

    • getCountFor - get the number of revisions kept for a document.