typedb-osi / typedb-loader

TypeDB Loader - Data Migration Tool for TypeDB
https://github.com/typedb-osi/typedb-loader
Apache License 2.0
58 stars 17 forks source link

Add attributes to existing entities/relations #1

Closed hkuich closed 3 years ago

hkuich commented 3 years ago

Given already existing entities/relations in your graph, do match/insert to add attributes:

match $entity isa entity, has identifying-existing-attribute "read from data table with new attributes";
insert $entity has new-attribute "read from data table with new attributes", has new-attribute-2 "...", ...;

Will need to adjust processor and data config and a new query builder.

hkuich commented 3 years ago

implementation complete - merge request coming