ParaDataStore.RemoveData

Declaration

ok, value, info = RemoveData(string key)

Parameters

Parameter NameTypeDescription
keystringKey of the data to be deleted.

Return Values

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

Description

Deletes data. A gravestone version of the deleted data will be retained. Users can use version-related APIs to access it.