MCPcopy Create free account
hub / github.com/porsager/postgres / data

Function data

cjs/src/subscribe.js:110–117  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

108 }
109
110 function data(x) {
111 if (x[0] === 0x77) {
112 parse(x.subarray(25), state, sql.options.parsers, handle, options.transform)
113 } else if (x[0] === 0x6b && x[17]) {
114 state.lsn = x.subarray(1, 9)
115 pong()
116 }
117 }
118
119 function handle(a, b) {
120 const path = b.relation.schema + '.' + b.relation.table

Callers

nothing calls this directly

Calls 2

parseFunction · 0.70
pongFunction · 0.70

Tested by

no test coverage detected