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?
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.