null
is used to represent missing/undefined values.null
is not equal tonull
. Not knowing two values does not imply that they are the same value. So the expressionnull = null
yieldsnull
and nottrue
. To check if an expression isnull
, useIS NULL
.- Arithmetic expressions, comparisons and function calls (except
coalesce
) will returnnull
if any argument isnull
. - An attempt to access a missing element in a list or a property that doesnât exist yields
null
. - In
OPTIONAL MATCH
clauses,nulls
will be used for missing parts of the pattern.
Comments