MCPcopy
hub / github.com/brianc/node-postgres / connect

Function connect

packages/pg-native/bench/leaks.js:7–9  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

5 const client = new Client()
6
7 const connect = function (cb) {
8 client.connect(cb)
9 }
10
11 const simpleQuery = function (cb) {
12 client.query('SELECT NOW()', cb)

Callers 1

connectMethod · 0.85

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected