Class: EntityReference
Class used to create a reference to an entity in a different path
Constructors​
constructor​
• new EntityReference(id
, path
)
Parameters​
Name | Type |
---|---|
id | string |
path | string |
Defined in​
Properties​
id​
• Readonly
id: string
Id of the entity
Defined in​
path​
• Readonly
path: string
A string representing the path of the referenced document (relative to the root of the database).
Defined in​
Accessors​
pathWithId​
• get
pathWithId(): string
Returns​
string