Skip to content

ambiten


ambiten / core/src / Relationship

Interface: Relationship<T> ​

Defined in: packages/core/src/types/ambiten.model.type.ts:46

Represents a relationship between collections in MongoDB.

Type Parameters ​

T ​

T = any

The type of the document in the collection.

Properties ​

localField ​

localField: keyof T

Defined in: packages/core/src/types/ambiten.model.type.ts:55

The field in the current document that holds the reference.


ref ​

ref: string

Defined in: packages/core/src/types/ambiten.model.type.ts:50

The name of the referenced collection.

Context-aware execution infrastructure for multi-tenant systems.