Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-17-2019 04:08 PM
Hi - I would like to return a node property (key and value) after I search for a term across all properties, I don’t know in which property I will find the term and I would like to do something with it after.
Here’s where I got so far:
match (n:demographic)
with n, keys(n) as k
with k, n, [x in keys(n) WHERE n[ ] =~ 'NSSF .*'] as doesMatch
where size(doesMatch) > 0
return apoc.map.fromValues([doesMatch, <return values of the matched keys ONLY>])
thank you
08-18-2019 10:51 AM
I go there myself:
unwind doesMatch as m
return m, n[m]
All the sessions of the conference are now available online