Skip to main content
zerotal

Documentation


Documentation / @zerotal/orm / index / HasMany

Interface: HasMany<T>

Defined in: packages/orm/src/model/relations/RelationRegistry.ts:110

Property annotation for a hasMany relation. A phantom marker: once the relation is eager-loaded (via .with()), WithLoaded resolves the property to a concrete T[].

Type Parameters

T

T

Properties

[___relation__]

[___relation__]: "hasMany"

Defined in: packages/orm/src/model/relations/RelationRegistry.ts:111


__type__

__type__: T

Defined in: packages/orm/src/model/relations/RelationRegistry.ts:112