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

Function db_col_u64

db/bindings.c:281–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280
281u64 db_col_u64(struct db_stmt *stmt, const char *colname)
282{
283 size_t col = db_query_colnum(stmt, colname);
284
285 if (db_column_null_warn(stmt, colname, col))
286 return 0;
287
288 return stmt->db->config->column_u64_fn(stmt, col);
289}
290
291u64 db_col_s64(struct db_stmt *stmt, const char *colname)
292{

Calls 2

db_query_colnumFunction · 0.85
db_column_null_warnFunction · 0.85

Tested by 1

test_manip_columnsFunction · 0.68