Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-18-2021 01:10 PM
Hello guys.
Does anyone help me find the correct answers for this online course
I am "checking my understanding" and failed every attempt, so the remaining answers do not make sense for me at all.
Regards
01-18-2021 02:04 PM
It is possible to create a node key constraint based upon a single property,
Elaine
01-18-2021 04:21 PM
Good to know that one property defines a node key. I was pretty sure it should be at least two to create a node key.
Thanks Eliane
01-18-2021 10:56 PM
I was curious too and read about it.
And yes, I just test it, you can create a node key constraint with only one property because the node key is creating both a uniqueness AND an existence constrain on that property.
I guess when you are sure to need both of these constraints on a property it's better for performance reason to do it this way instead of applying both individually.
All the sessions of the conference are now available online