(reply: Reply.Encoded)
| 187 | } |
| 188 | |
| 189 | const replyToRow = (reply: Reply.Encoded): ReplyRow => ({ |
| 190 | id: reply.id, |
| 191 | kind: replyKind[reply._tag], |
| 192 | request_id: reply.requestId, |
| 193 | payload: reply._tag === "WithExit" ? JSON.stringify(reply.exit) : JSON.stringify(reply.values), |
| 194 | sequence: reply._tag === "Chunk" ? reply.sequence : null |
| 195 | }) |
| 196 | |
| 197 | const supportsBooleans = sql.onDialectOrElse({ |
| 198 | mssql: () => false, |