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

Function db_col_int

db/bindings.c:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

outpointfilters_initFunction · 0.85
wallet_stmt2outputFunction · 0.85
wallet_shachain_loadFunction · 0.85
wallet_stmt2inflightFunction · 0.85
wallet_stmt2channelFunction · 0.85
wallet_blocks_heightsFunction · 0.85
wallet_state_change_getFunction · 0.85

Calls 2

db_query_colnumFunction · 0.85
db_column_null_warnFunction · 0.85

Tested by 1

count_inflightsFunction · 0.68