ReadManyRelationInstance
Defined in: runtime/relation.ts:117
A relation instance where the cardinality is ”*”.
Extends
Section titled “Extends”BaseRelationInstance<TItem>
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”TItem extends ReadItem
Properties
Section titled “Properties”
readonlytype:"many"
Defined in: runtime/relation.ts:128
Indicates that an abstract relation instance is cardinality ”*”.
Methods
Section titled “Methods”isType()
Section titled “isType()”isType(
item):item is TItem
Defined in: runtime/relation.ts:48
True if the supplied item is of the correct type for this side of the relation.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”item is TItem
Inherited from
Section titled “Inherited from”BaseRelationInstance.isType
select()
Section titled “select()”select():
TemplateItemCursorSelector<RelatedItem<TItem>>
Defined in: runtime/relation.ts:123
Returns a selector builder to return the targets of this relation instance. This is a standard ItemSelector, so rules on includeArchived can be used in the same manner.