انتقل إلى المحتوى الرئيسي

Interface: TenantTableOptions<T>

Defined in: packages/persistence/src/scoped.ts:129

Naming of a table for TenantRepository.

Type Parameters​

T​

T extends string

Properties​

idColumn?​

readonly optional idColumn?: string

Defined in: packages/persistence/src/scoped.ts:133

The primary key column. Default id.


pathColumn?​

readonly optional pathColumn?: string

Defined in: packages/persistence/src/scoped.ts:135

The column holding the subject-tree path. Default path.


table​

readonly table: T

Defined in: packages/persistence/src/scoped.ts:131

The table's name in the module's schema; it must have the column pathColumn names.