Skip to main content
Table of Contents

TTMSFNCCustomCloudGoogleFireBase.AddIndexRule Method

Adds a field to the index rule of a table, creating the table's index rule when it does not yet exist. Has no effect when the field is already indexed for that table. Call SetRules afterwards to persist the change.

API unit family: TMSFNCCloudGoogleFireBase Declaring type: TTMSFNCCustomCloudGoogleFireBase

Syntax

FMX.TMSFNCCloudGoogleFireBase.hppPascalC++
procedure AddIndexRule(ATableName: string; APropertyName: string);
void __fastcall AddIndexRule(System::UnicodeString ATableName, System::UnicodeString APropertyName);

Parameters

Name Description
ATableName Name of the table to add the index field to.
APropertyName Name of the field to index.