Home > git-documentdb > GitDocumentDB > getFatDocHistory
#
GitDocumentDB.getFatDocHistory() methodGet revision history of a FatDoc data
Signature:#
ParametersParameter | Type | Description |
---|---|---|
name | string | name is a file path. |
historyOptions | HistoryOptions | |
getOptions | GetOptions |
Promise<(FatDoc | undefined)[]>
Array of FatDoc or undefined. - undefined if a specified data does not exist or it is deleted.
Array of FatJsonDoc if isJsonDocCollection is true or the file extension is SerializeFormat.extension. Be careful that JsonDoc may not have _id property when an app other than GitDocumentDB creates it.
Array of FatBinaryDoc if described in .gitattribtues, otherwise array of FatTextDoc.
getOptions.forceDocType always overwrite return type.
#
RemarksThis is an alias of GitDocumentDB#rootCollection.getFatDocHistory()
See GitDocumentDB.getHistory() for detailed examples.