MCPcopy
hub / github.com/sequelize/sequelize / getConnection

Method getConnection

types/lib/connection-manager.d.ts:29–29  ·  view source on GitHub ↗

* Get connection from pool. It sets database version if it's not already set. * Call pool.acquire to get a connection.

(opts: GetConnectionOptions)

Source from the content-addressed store, hash-verified

27 * Call pool.acquire to get a connection.
28 */
29 getConnection(opts: GetConnectionOptions): Promise<Connection>;
30 /**
31 * Release a pooled connection so it can be utilized by other connection requests
32 */

Callers 10

queryMethod · 0.65
prepareEnvironmentMethod · 0.65
pool.test.jsFile · 0.65
range.test.jsFile · 0.65

Implementers 1

ConnectionManagerlib/dialects/abstract/connection-manag

Calls

no outgoing calls

Tested by

no test coverage detected