Class: PlatformTransaction<DB>
Defined in: packages/persistence/src/platform.ts:27
A transaction opened for a PlatformScope. A different class from
TenantTransaction, with its own private field, so neither is assignable to the
other and a tenant repository will not take one.
Type Parameters
DB
DB
Properties
scope
readonlyscope:PlatformScope
Defined in: packages/persistence/src/platform.ts:30
The scope the transaction was opened for.
trx
readonlytrx:Transaction<DB>
Defined in: packages/persistence/src/platform.ts:32
The Kysely transaction. Every statement on it runs with oktoid.platform on and the scope path at /.
Accessors
kind
Get Signature
get kind():
"platform"
Defined in: packages/persistence/src/platform.ts:44
Returns
"platform"
'platform'; reads the private field so the type stays nominal.