(reply: Reply.ReplyEncoded<any>)
| 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, |