ParaOrderedDataStore.SetData

Declaration

ok, value, info = SetData(key, value)

Parameters

Parameter NameTypeDescription
keystringKey of the data to be set.
valuenumberValue.

Return Values

Response NameTypeDescription
okintIf the value is 0, the operation is successful. The subsequent fields are the set value and detailed information.
valuenumberIf the operation is successful, the set value is returned. Otherwise, an error message is returned.
infoParaOrderedDataInfoIf the operation is successful, the detailed information (such as version and metadata) is returned.

Description

Sets data.