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

Function json_add_column

plugins/sql.c:1475–1483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1473}
1474
1475static void json_add_column(struct json_stream *js,
1476 const char *dbname,
1477 const char *sqltypename)
1478{
1479 json_object_start(js, NULL);
1480 json_add_string(js, "name", dbname);
1481 json_add_string(js, "type", sqltypename);
1482 json_object_end(js);
1483}
1484
1485static void json_add_columns(struct json_stream *js,
1486 const struct table_desc *td)

Callers 2

json_add_columnsFunction · 0.85
json_add_schemaFunction · 0.85

Calls 3

json_object_startFunction · 0.85
json_object_endFunction · 0.85
json_add_stringFunction · 0.50

Tested by

no test coverage detected