Skip to content

ReadManyRelationInstance

Defined in: runtime/relation.ts:117

A relation instance where the cardinality is ”*”.

  • BaseRelationInstance<TItem>

TItem extends ReadItem

readonly type: "many"

Defined in: runtime/relation.ts:128

Indicates that an abstract relation instance is cardinality ”*”.

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.

BaseReadItem

item is TItem

BaseRelationInstance.isType


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.

TemplateItemCursorSelector<RelatedItem<TItem>>