Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-09-2022 07:15 AM
I'm a bit confused whether to use a label or property on a node. Say for example, I have Messages
Node which can be sent to Users
and Groups
. Should I use a property or label GroupMessage
to differentiate Messages
node?
01-20-2022 07:35 PM
A label is a named graph construct that is used to group nodes into sets.
Properties are name-value pairs of data that you can store on nodes or on relationships.
Use a label if you are going to MATCH on User or Group Messages, and property if it will just be used on the RETURN.
All the sessions of the conference are now available online