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

Function db_col_json_escape

db/bindings.c:564–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564struct 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
573void db_col_sha256(struct db_stmt *stmt, const char *colname, struct sha256 *sha)
574{

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