MCPcopy Create free account
hub / github.com/ElementsProject/lightning / db_col_json_escape

Function db_col_json_escape

db/bindings.c:484–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484struct 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
493void db_col_sha256(struct db_stmt *stmt, const char *colname, struct sha256 *sha)
494{

Callers 2

wallet_offer_findFunction · 0.85

Calls 4

db_query_colnumFunction · 0.85
json_escape_string_Function · 0.85
db_column_blobFunction · 0.85
db_column_bytesFunction · 0.85

Tested by

no test coverage detected