Table of Contents

TTMSFNCCloudGoogleFireBase.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: TTMSFNCCloudGoogleFireBase Inherited from: TTMSFNCCustomCloudGoogleFireBase

Syntax

procedure AddIndexRule(ATableName: string; APropertyName: string);

Parameters

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