MCPcopy Create free account
hub / github.com/denodrivers/postgres / newEntry

Method newEntry

query/array_parser.ts:61–72  ·  view source on GitHub ↗
(includeEmpty = false)

Source from the content-addressed store, hash-verified

59 }
60
61 newEntry(includeEmpty = false): void {
62 let entry;
63 if (this.recorded.length > 0 || includeEmpty) {
64 entry = this.recorded.join("");
65 if (entry === "NULL" && !includeEmpty) {
66 entry = null;
67 }
68 if (entry !== null) entry = this.transform(entry);
69 this.entries.push(entry);
70 this.recorded = [];
71 }
72 }
73
74 consumeDimensions(): void {
75 if (this.source[0] === "[") {

Callers 1

parseMethod · 0.95

Calls 2

joinMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected