Hello,
Say I am returning a map(document) of which I want to specify some properties to be left out of the returned data. Is it possible to only leave those properties out or do we have to know what properties we want beforehand?
Hello,
Say I am returning a map(document) of which I want to specify some properties to be left out of the returned data. Is it possible to only leave those properties out or do we have to know what properties we want beforehand?
Hello @codeinode
I think you are looking for apoc.map.removeKeys()
Syntax: apoc.map.removeKeys(map(document), list_of_keys_to_remove_from_the_map)
Regards,
Cobra
Ahh this is great - haven't yet learned the use of APOC functions, lot of learning left!
Thanks