You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When dealing with map projections, what would be the proper way to extract the keys/values from the iterator? Given query:
MATCH (n) RETURN n {.name, .age} AS projection
What would be the proper path for extracting the object(s) containing name and age projections? Logging out the value of res.next() for that query outputs the following in the console:
Record {
_header: [ 'n {.name, .age}' ],
_values: [ { name: 'foo', age: 42 } ]
}
How would you get the value(s), being an array of objects equal to [ { name: 'foo', age: 42 } ]?
The text was updated successfully, but these errors were encountered:
When dealing with map projections, what would be the proper way to extract the keys/values from the iterator? Given query:
What would be the proper path for extracting the object(s) containing
name
andage
projections? Logging out the value ofres.next()
for that query outputs the following in the console:How would you get the value(s), being an array of objects equal to
[ { name: 'foo', age: 42 } ]
?The text was updated successfully, but these errors were encountered: