API
Python
Description
Hi,
I don't understand if it is possible to alter a rel table after creation.
From the documentation it seems not possible.
I'd like to add new node pairs referring to the same relationship at any moment.
For example:
CREATE REL TABLE Located(FROM User TO City, FROM Shop TO City);
Now I need to add the same relationship between Event and City.
I'd like to have something like:
ALTER REL TABLE Located ADD IF NOT EXISTS(FROM Event TO City);
I don't like to create a specific new relationship like EventLocated.
In the documentation here:
https://docs.kuzudb.com/cypher/data-definition/create-table/
it is mentioned that children tables are created for managing multiple pairs node, but I don't understand if it possible and how to use them to add the new relationship above.
Is there a way to achieve this?
Thank you