MCPcopy Index your code
hub / github.com/Effect-TS/effect / replyToRow

Function replyToRow

packages/cluster/src/SqlMessageStorage.ts:121–127  ·  view source on GitHub ↗
(reply: Reply.ReplyEncoded<any>)

Source from the content-addressed store, hash-verified

119 }
120
121 const replyToRow = (reply: Reply.ReplyEncoded<any>): ReplyRow => ({
122 id: reply.id,
123 kind: replyKind[reply._tag],
124 request_id: reply.requestId,
125 payload: reply._tag === "WithExit" ? JSON.stringify(reply.exit) : JSON.stringify(reply.values),
126 sequence: reply._tag === "Chunk" ? reply.sequence : null
127 })
128
129 const supportsBooleans = sql.onDialectOrElse({
130 mssql: () => false,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected