Table of Contents

TTMSFNCCloudGoogleFireBaseObjectDatabase Class

Design-time component that stores, retrieves, queries, and deletes typed objects in a cloud realtime database. Drop it on a form and configure the database and table to persist TTMSFNCCloudGoogleFireBaseObject records without manual serialization.

API unit family: TMSFNCCloudGoogleFireBaseObject Inherits from: TTMSFNCCustomCloudGoogleFireBaseObjectDatabase

Syntax

TTMSFNCCloudGoogleFireBaseObjectDatabase = class(TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)

Methods

Name Description
DeleteList Deletes every record that matches an object in the list. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
DeleteObject Deletes the record identified by the given key. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
InsertList Inserts every object in the list as a new record, generating identifiers for items that do not yet have one. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
InsertObject Inserts a new object as a record in the database. When the object has no identifier, a unique one is generated before insertion. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
QueryList Queries records whose named property equals the given string value. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
ReadList Reads all records from the database. The parsed result is delivered through the read-data-list event. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
ReadObject Reads a single record by identifier. The result is delivered asynchronously through the read-data callbacks. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
WriteList Writes every object in the list to the database. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)
WriteObject Writes an object to the database, updating the existing record that matches its identifier. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)

Events

Name Description
OnReadDataList Occurs when a list of objects has been read from the database, after the response has been parsed into typed instances. (inherited from TTMSFNCCustomCloudGoogleFireBaseObjectDatabase)

Used by