Skip to main content

Module reclassify_relation

Module reclassify_relation 

Source
Expand description

Handler for the reclassify-relation CLI subcommand (GAP-13).

Renames a relation type in the relationships table — either a single directed edge (--source, --target, --from-relation) or every edge of a given type in the namespace (--batch).

When the rename would produce a duplicate (source_id, target_id, relation) triple, UPDATE OR IGNORE skips the conflicting row and the subsequent DELETE removes it; the count of such skipped rows is reported as merged_duplicates.

Structs§

ReclassifyRelationArgs

Functions§

run