TTMSFNCCustomCloudGoogleFireBase.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: 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;
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. |
Related API
OnUpdateData
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;
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. |
Related API
OnUpdateData