-
-
Notifications
You must be signed in to change notification settings - Fork 54
FB4D Reference TFirebasePath
This class offers helper class functions for handling the database path in the Firestore.
This function removes the starting and ending path delimiter from a path.
class function TFirestorePath.TrimStartAndEndPathDelimiters(const Path: string): string;
The following function splits a path into its folder names separated by using a path delimiter of / or .
class function TFirestorePath.ConvertToDocPath(const Path: string): TRequestResourceParam;
The following function converts TRequestResourceParam into a path as string.
class function TFirestorePath.GetDocPath(Params: TRequestResourceParam): string;
The following function check if a string contains a path delimiter.
class function TFirestorePath.ContainsPathDelim(const Path: string): boolean;
The following function extracts the last part (Collection or ID) of a path.
class function TFirestorePath.ExtractLastCollection(const Path: string): string;
The following function removed the last part (Collection or ID) from a path.
class function TFirestorePath.DocPathWithoutLastCollection(
const Path: string): TRequestResourceParam;
Have you discovered an error? Or is something unclear? Please let us know in the discussion forum.
Schneider Infosystems Ltd. CH-6340 Baar, Switzerland, www.schneider-infosys.ch
Introduction into FB4D
Getting Started
Fundamental Principles
Project Settings
GUI Pattern Self-Registration
RT-DB Sample Applications
Firestore Chat Sample Applications
PhotoBox demonstrates Firestore, Storage, VisionML
Interface Reference
Configuration and Class Factory
Helper Classes
Authentication