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

Function StartupMessage

deno/src/connection.js:999–1009  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

997 }
998
999 function StartupMessage() {
1000 return cancelMessage || b().inc(4).i16(3).z(2).str(
1001 Object.entries(Object.assign({
1002 user,
1003 database,
1004 client_encoding: 'UTF8'
1005 },
1006 options.connection
1007 )).filter(([, v]) => v).map(([k, v]) => k + b.N + v).join(b.N)
1008 ).z(2).end(0)
1009 }
1010
1011}
1012

Callers 1

connectedFunction · 0.70

Calls 1

endMethod · 0.65

Tested by

no test coverage detected