October 2017
Beginner to intermediate
316 pages
8h
English
You may want to remove all the indexed nodes from the spatial tree. You can do this by removing all the layers, which is a rather expeditive method indeed.
Try this code, which should return an empty list :
// Removing all spatial layersCALL spatial.layers() YIELD name AS nameWITH collect(name) AS namesUNWIND names AS nameLCALL spatial.removeLayer(nameL) // enamel layer :)call spatial.layers() YIELD name AS name2WITH collect(name2) AS emptyNamesListRETURN emptyNamesList
I hope you enjoyed this chapter, particularly rich in puns and wordplays.
Read now
Unlock full access