【发布时间】:2019-04-02 16:32:20
【问题描述】:
我想查找至少缺少以下属性之一的人员列表:Title、DisplayName、FirstName、LastName、Id、Email。
我尝试了以下方法,但出现错误 "java.lang.ArrayIndexOutOfBoundsException"
如果我只运行前三行,我会得到那些没有 DisplayName 且该属性为空值的人的结果,但是没有标题的属性列。
g.V().hasLabel('people').hasNot('Title')
.or().hasLabel('people').hasNot('DisplayName')
.or().hasLabel('people').hasNot('FirstName')
.or().hasLabel('people').hasNot('LastName')
.or().hasLabel('people').hasNot('Id')
.or().hasLabel('people').hasNot('Email')
【问题讨论】: