JDBC Driver for Cloudant

Build 25.0.9434

GetDocumentOnRevision

Retrieves the full content of a Cloudant document as it existed in a specific revision. This enables you to view or work with the document’s state at a particular point in its revision history.

Input

Name Type Required Description
DatabaseName String True The name of the Cloudant database containing the document. This ensures the query is directed to the correct dataset.
DocumentId String True The unique identifier of the document to be retrieved. This value specifies which document’s revision will be accessed.
RevisionId String True The identifier of the specific document revision to query. This value determines which version of the document is returned from Cloudant’s revision history.

Result Set Columns

Name Type Description
* String The complete set of fields and values contained in the document for the specified revision. This output reflects the document exactly as it existed at that revision point.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434