Declaration
ok, value, info = RemoveData(string key)
Parameters
Parameter Name | Type | Description |
---|---|---|
key | string | Key of the data to be deleted. |
Return Values
Response Name | Response Type | Description |
---|---|---|
ok | int | If the value is 0, the operation is successful. The subsequent fields are the deleted data and detailed information. |
value | number | If the operation is successful, the deleted data is returned. Otherwise, an error message is returned. |
info | ParaOrderedDataInfo | If the operation is successful, the detailed information (such as version and metadata) is returned. |
Description
Deletes the data corresponding to a specified key.