要实现的功能为
match (m)
where (m.q10000 is not null OR m.q10001 is not null )
AND id(m)=='100000000017700'
return id(m) as mid,m.q10000 IS NOT NULL as q10000,m.PRO001.value as PRO001
在studio中正常运行,但到java client返回就为空.
测试下来 match有个提前限制java client返回就正常, 但这样不满足我的需求
match (m: Xtag)
where m.q10000 is not null
AND id(m)=='100000000017700'
return id(m) as mid,m.q10000 IS NOT NULL as q10000,m.PRO001.value as PRO001
后来改成如下才能正常运行
match (m)
where 'q10000' in labels(m) AND id(m)=='100000000017700'
return id(m) as mid,m.q10000 IS NOT NULL as q10000,m.PRO001.value as PRO001