| 9 | #include <sqlite3.h> |
| 10 | |
| 11 | static int64_t projection_node(cbm_store_t *store, const char *label, const char *qn, |
| 12 | const char *file, bool entry) { |
| 13 | cbm_node_t n = {.project = "projection", |
| 14 | .label = label, |
| 15 | .name = qn, |
| 16 | .qualified_name = qn, |
| 17 | .file_path = file, |
| 18 | .start_line = 10, |
| 19 | .end_line = 20, |
| 20 | .properties_json = entry ? "{\"is_entry_point\":true}" : "{}"}; |
| 21 | return cbm_store_upsert_node(store, &n); |
| 22 | } |
| 23 | |
| 24 | static int64_t projection_edge(cbm_store_t *store, int64_t source, int64_t target, |
| 25 | const char *type) { |
no test coverage detected