| 562 | } |
| 563 | |
| 564 | struct json_escape *db_col_json_escape(const tal_t *ctx, |
| 565 | struct db_stmt *stmt, const char *colname) |
| 566 | { |
| 567 | size_t col = db_query_colnum(stmt, colname); |
| 568 | |
| 569 | return json_escape_string_(ctx, db_column_blob(stmt, col), |
| 570 | db_column_bytes(stmt, col)); |
| 571 | } |
| 572 | |
| 573 | void db_col_sha256(struct db_stmt *stmt, const char *colname, struct sha256 *sha) |
| 574 | { |
no test coverage detected