()
| 92 | // comparison the type-encode table cannot make because it includes framing. |
| 93 | |
| 94 | const bindEffect = () => |
| 95 | success(PgProtocol.encodeBind({ |
| 96 | portal: "", |
| 97 | statement: "s1", |
| 98 | parameters: payload.map(({ oid, value }) => success(PgTypes.encode(value, oid))) |
| 99 | })) |
| 100 | |
| 101 | // The same job with the values written straight into the frame, which is what |
| 102 | // a client should use: no array per parameter, no copy out of one. |
no test coverage detected