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

Function db_col_int

db/bindings.c:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51int db_col_int(struct db_stmt *stmt, const char *colname)
52{
53 size_t col = db_query_colnum(stmt, colname);
54
55 if (db_column_null_warn(stmt, colname, col))
56 return 0;
57
58 return stmt->db->config->column_int_fn(stmt, col);
59}
60
61int db_col_is_null(struct db_stmt *stmt, const char *colname)
62{

Callers 15

stmt2chain_eventFunction · 0.85
stmt2channel_eventFunction · 0.85
refill_outpointfiltersFunction · 0.85
wallet_stmt2outputFunction · 0.85
wallet_get_addrtypeFunction · 0.85
wallet_shachain_loadFunction · 0.85

Calls 2

db_query_colnumFunction · 0.85
db_column_null_warnFunction · 0.85

Tested by 3

count_inflightsFunction · 0.68
count_movesFunction · 0.68
count_movesFunction · 0.68