MCPcopy Index your code
hub / github.com/brianc/node-postgres / exec

Function exec

packages/pg/bench.js:17–23  ·  view source on GitHub ↗
(client, q)

Source from the content-addressed store, hash-verified

15}
16
17const exec = async (client, q) => {
18 await client.query({
19 text: q.text,
20 values: q.values,
21 rowMode: 'array',
22 })
23}
24
25const bench = async (client, q, time) => {
26 const start = performance.now()

Callers 2

benchFunction · 0.70
130-tests.jsFile · 0.50

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected