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

Function decodeLineArray

query/decoders.ts:272–274  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

270}
271
272export function decodeLineArray(value: string) {
273 return parseArray(value, decodeLine);
274}
275
276export function decodeLineSegment(value: string): LineSegment {
277 const points = value.substring(1, value.length - 1).match(/\(.*?\)/g) || [];

Callers 1

decodeTextFunction · 0.90

Calls 1

parseArrayFunction · 0.90

Tested by

no test coverage detected