Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Feature: ALTER REL TABLE #5097

@emabiz

Description

@emabiz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureNew features or missing components of existing features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions