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

Function query

packages/pg-native/test/load.js:8–12  ·  view source on GitHub ↗
(n, cb)

Source from the content-addressed store, hash-verified

6 const client = new Client()
7 client.connectSync()
8 const query = function (n, cb) {
9 client.query('SELECT $1::int as num', [n], function (err) {
10 cb(err)
11 })
12 }
13 return async.timesSeries(
14 5,
15 query,

Callers

nothing calls this directly

Calls 2

cbFunction · 0.85
queryMethod · 0.45

Tested by

no test coverage detected