| 49 | return cbm_store_upsert_node(s,&row); |
| 50 | } |
| 51 | static bool ss_edge(cbm_store_t *s,int64_t from,int64_t to,const char *type) { |
| 52 | cbm_edge_t e={.project=SS_PROJECT,.source_id=from,.target_id=to,.type=type,.properties_json="{}"}; |
| 53 | return cbm_store_insert_edge(s,&e)>0; |
| 54 | } |
| 55 | static bool ss_seed(cbm_store_t *s,ss_ids_t *id) { |
| 56 | if (!s || cbm_store_upsert_project(s,SS_PROJECT,"/scope-fixture")!=CBM_STORE_OK) return false; |
| 57 | /* Deliberately nonlexical insertion order. */ |
no test coverage detected