Constructor
new Relation(parent, key)
- Source:
- See:
Creates a new Relation for the given parent object and key. This
constructor should rarely be used directly, but rather created by
AV.Object#relation.
Parameters:
| Name | Type | Description |
|---|---|---|
parent |
AV.Object | The parent of this relation. |
key |
String | The key for this relation on the parent. |