DataRefModelExtension extension

on

Properties

collectionPath String?

Available on DataRefModel, provided by the DataRefModelExtension extension

The full collection path of the reference, always ending in "/".
no setter
path String

Available on DataRefModel, provided by the DataRefModelExtension extension

The full path of the reference. If it ends with "/", it's a path to a collection, otherwise it's a path to a document.
no setter
pathSegments List<String>

Available on DataRefModel, provided by the DataRefModelExtension extension

The full path segments of the reference, in order, including the document ID if it's not null.
no setter
tableName String?

Available on DataRefModel, provided by the DataRefModelExtension extension

The table name, i.e. the last element in collection.
no setter

Operators

operator +(DataRefModel other) DataRefModel

Available on DataRefModel, provided by the DataRefModelExtension extension

Adds two DataRefModel objects. Collection paths must have an odd number of segments.