| 482 | } |
| 483 | |
| 484 | struct json_escape *db_col_json_escape(const tal_t *ctx, |
| 485 | struct db_stmt *stmt, const char *colname) |
| 486 | { |
| 487 | size_t col = db_query_colnum(stmt, colname); |
| 488 | |
| 489 | return json_escape_string_(ctx, db_column_blob(stmt, col), |
| 490 | db_column_bytes(stmt, col)); |
| 491 | } |
| 492 | |
| 493 | void db_col_sha256(struct db_stmt *stmt, const char *colname, struct sha256 *sha) |
| 494 | { |
no test coverage detected