Skip to main content

Module merge_entities

Module merge_entities 

Source
Expand description

Handler for the merge-entities CLI subcommand (GAP-19).

Merges two or more source entities into a single target entity by:

  1. Retargeting all relationships pointing at any source to the target.
  2. Deduplicating relationships that become identical after the merge (same source_id + target_id + relation).
  3. Retargeting memory_entities bindings.
  4. Deleting the now-empty source entity rows.

Structs§

MergeEntitiesArgs

Functions§

run