Expand description
Fork diff & promote engine (Phase 6+).
compute_diff computes the structural delta between two views; run_promote
scans a fork for matched rows and bulk-inserts them onto primary. Both are
generic over the ForkQueryHost / ForkPromoteSink host traits that
uni-db implements for its Session/Transaction types.
Functionsยง
- compute_
diff - Compute the structural delta between two views.
- run_
promote - Scan a fork session for matches per pattern, then bulk-insert the
matched vertices on primary (deduplicated by content-derived UID)
and edges (deduplicated by
(src_uid, dst_uid, edge_type)).