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

Function find_column

plugins/sql.c:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316static struct column *find_column(const struct table_desc *td,
317 const char *dbname)
318{
319 for (size_t i = 0; i < tal_count(td->columns); i++) {
320 if (streq(td->columns[i]->dbname, dbname))
321 return td->columns[i];
322 }
323 return NULL;
324}
325
326static int sqlite_authorize(void *dbq_, int code,
327 const char *a,

Callers 3

sqlite_authorizeFunction · 0.85
add_table_propertiesFunction · 0.85
init_tablemapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected