Skip to main content

Class: EntityReference

Class used to create a reference to an entity in a different path

Constructors#

constructor#

new EntityReference(id, path)

Parameters#

NameType
idstring
pathstring

Defined in#

models/entities.ts:92

Properties#

id#

Readonly id: string

Id of the entity

Defined in#

models/entities.ts:87


path#

Readonly path: string

A string representing the path of the referenced document (relative to the root of the database).

Defined in#

models/entities.ts:92