ParaDataStore.GetVersionData

Declaration

ok, value, info = GetVersionData(string key, int version)

Parameters

Parameter NameTypeDescription
keystringKey of the data to be obtained.
versionintVersion number.

Return Values

Response NameTypeDescription
okintIf the value is 0, the operation is successful. The subsequent fields are the obtained value and detailed information.
valuenumber, boolean, string,
or table containing only these types
If the operation is successful, the obtained value is returned. Otherwise, an error message is returned.
infoParaDataInfoIf the operation is successful, the detailed information (such as version and metadata) is returned.

Description

Gets the data of a specified version corresponding to a key and detailed information.