Table of Contents

TTMSFNCCloudGoogleFireBase.UpdateData Method

Sends a request that replaces the payload of the record with the given identifier. The outcome is reported through the update-data result event.

API unit family: TMSFNCCloudGoogleFireBase Declaring type: TTMSFNCCloudGoogleFireBase Inherited from: TTMSFNCCustomCloudGoogleFireBase

Overloads

Overload 1

Sends a request that replaces the payload of the record with the given identifier. The outcome is reported through the update-data result event.

procedure UpdateData(AID, AData: string); overload;

Parameters

Name Description
AID Identifier (key) of the record to update.
AData New payload of the record as a JSON string.

Overload 2

Sends a request that updates a single property of the record with the given identifier. The outcome is reported through the update-data result event.

procedure UpdateData(AID, APropertyName, APropertyValue: string); overload;

Parameters

Name Description
AID Identifier (key) of the record to update.
APropertyName Name of the property to set.
APropertyValue New value of the property.