Skip to main content
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.

FMX.TMSFNCCloudGoogleFireBase.hppPascalC++
procedure UpdateData(AID, AData: string); overload;
void __fastcall UpdateData(System::UnicodeString AID, System::UnicodeString AData)/* 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.

FMX.TMSFNCCloudGoogleFireBase.hppPascalC++
procedure UpdateData(AID, APropertyName, APropertyValue: string); overload;
void __fastcall UpdateData(System::UnicodeString AID, System::UnicodeString APropertyName, System::UnicodeString APropertyValue)/* 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.