TTMSFNCCloudGoogleFireBase.Query Method
Queries the current table for records whose property matches the given text value exactly. Results are delivered through the query result event. The query is skipped when the keyword is empty.
API unit family: TMSFNCCloudGoogleFireBase
Declaring type: TTMSFNCCloudGoogleFireBase
Inherited from: TTMSFNCCustomCloudGoogleFireBase
Overloads
Overload 1
Queries the current table for records whose property matches the given text value exactly. Results are delivered through the query result event. The query is skipped when the keyword is empty.
procedure Query(APropertyName, AKeyWord: string); overload;
Parameters
| Name | Description |
|---|---|
APropertyName |
Name of the property to order by and match. |
AKeyWord |
Text value to match exactly. |
Overload 2
Queries the current table for records whose property equals the given boolean value. Results are delivered through the query result event.
procedure Query(APropertyName: string; AKeyWord: boolean); overload;
Parameters
| Name | Description |
|---|---|
APropertyName |
Name of the property to order by and match. |
AKeyWord |
Boolean value to match exactly. |
Overload 3
Queries the current table for records whose property equals the given numeric value. Results are delivered through the query result event.
procedure Query(APropertyName: string; AKeyValue: Double); overload;
Parameters
| Name | Description |
|---|---|
APropertyName |
Name of the property to order by and match. |
AKeyValue |
Numeric value to match exactly. |
Overload 4
Queries the current table for records whose property falls within the given inclusive text range. Results are delivered through the query result event. The query is skipped when either bound is empty.
procedure Query(APropertyName, AStartAt, AEndAt: string); overload;
Parameters
| Name | Description |
|---|---|
APropertyName |
Name of the property to order by and filter on. |
AStartAt |
Lower text bound of the range. |
AEndAt |
Upper text bound of the range. |
Overload 5
Queries the current table for records whose property falls within the given inclusive numeric range. Results are delivered through the query result event.
procedure Query(APropertyName: string; AMinValue, AMaxValue: Double); overload;
Parameters
| Name | Description |
|---|---|
APropertyName |
Name of the property to order by and filter on. |
AMinValue |
Lower numeric bound of the range. |
AMaxValue |
Upper numeric bound of the range. |