MCPcopy Index your code
hub / github.com/questdb/questdb / convertResult

Method convertResult

compat/src/test/nodejs-postgres/runner.js:200–205  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

198 }
199
200 convertResult(result) {
201 if (!Array.isArray(result)) return result;
202 return result.map(row =>
203 row.map(value => this.formatValue(value))
204 );
205 }
206
207 assertResult(expect, actual) {
208 const normalizedActual = this.convertResult(actual);

Callers 1

assertResultMethod · 0.95

Calls 3

formatValueMethod · 0.95
mapMethod · 0.65
isArrayMethod · 0.45

Tested by

no test coverage detected