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

Function db_col_json_escape

db/bindings.c:567–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565}
566
567struct json_escape *db_col_json_escape(const tal_t *ctx,
568 struct db_stmt *stmt, const char *colname)
569{
570 size_t col = db_query_colnum(stmt, colname);
571
572 return json_escape_string_(ctx, db_column_blob(stmt, col),
573 db_column_bytes(stmt, col));
574}
575
576void db_col_sha256(struct db_stmt *stmt, const char *colname, struct sha256 *sha)
577{

Callers 3

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