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
readonlydb:AnyKysely
Defined in: db/src/pool/connection-pool-registry.ts:27
native
readonlynative: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