Skip to content

Documentation / @tenancy-node/db / PoolLease

Interface: PoolLease ​

Defined in: db/src/pool/connection-pool-registry.ts:26

Préstamo de un pool: hay que liberarlo cuando se termina de usar.

Properties ​

db ​

readonly db: AnyKysely

Defined in: db/src/pool/connection-pool-registry.ts:27


native ​

readonly native: unknown

Defined in: db/src/pool/connection-pool-registry.ts:28

Methods ​

release() ​

release(): void

Defined in: db/src/pool/connection-pool-registry.ts:29

Returns ​

void

Publicado bajo la licencia MIT.