MCPcopy Create free account
hub / github.com/denodrivers/postgres / release

Method release

client.ts:541–546  ·  view source on GitHub ↗

* Releases the client back to the pool

()

Source from the content-addressed store, hash-verified

539 * Releases the client back to the pool
540 */
541 release() {
542 this.#release();
543
544 // Cleanup all session related metadata
545 this.resetSessionMetadata();
546 }
547
548 [Symbol.dispose]() {
549 this.release();

Callers 6

[Symbol.dispose]Method · 0.95
generatePoolClientTestFunction · 0.45
pool_test.tsFile · 0.45
connectThenReleaseFunction · 0.45
poolWrapperFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected