ParaDataStore.RemoveVersionData

Declaration

ok, value, info = RemoveVersionData(key, version)

Parameters

Parameter NameTypeDescription
keystringKey of the data of a specified version to be deleted.
versionintThe corresponding version number.

Return Values

Response Name

Type

Description

ok

int

If the value is 0, the operation is successful. The subsequent fields are the deleted data of a specified version and detailed information.

value

number, boolean, string,
or table containing only these types

If the operation is successful, the deleted data of a specified version is returned. Otherwise, an error message is returned.

info

ParaDataInfo

If the operation is successful, the detailed information (such as version and metadata) is returned.

Description

Deletes the data of a specified version of the corresponding key.