Neo4jに「含まれていない」が存在するかどうか知っていますか?
例えば:
LOAD CSV WITH HEADERS FROM 'file:///animal.csv' as a fieldterminator "|"
match (b:Animals{animal:a.type})
where not a.type contains 'x' or not a.type contains 'abc'
set b.type=a.type
残念ながら、この方法ではコードは機能しません。
含むには大文字と小文字が区別されることに注意してください。試合前にWHEREも移動しますが、そこでは安価です。
LOAD CSV WITH HEADERS FROM 'file:///animal.csv' as a fieldterminator "|"
WITH a where (not (a.type contains 'x')) or (not (a.type contains 'abc'))
match (b:Animals{animal:a.type})
set b.type=a.type
ANDではなくORが必要ですか?
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加