Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a node with multiple labels #21

Open
avadhanij opened this issue May 25, 2018 · 2 comments
Open

Create a node with multiple labels #21

avadhanij opened this issue May 25, 2018 · 2 comments

Comments

@avadhanij
Copy link

avadhanij commented May 25, 2018

When defining models, is it possible to register nodes of a model with multiple labels? Perhaps through something like class Meta?

Better yet, dynamically?

@ghost
Copy link

ghost commented Jan 14, 2020

You can give a node multiple labels through class inheritance.
Where I get stuck is how to register labels that were determined with manually implemented with neo4j SET.

@fsalmasri
Copy link

you can get up to two labels by inserting a base class. what I find it difficult is how to make more labels for example up to 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants