Closed
Description
So far I find this pattern pretty frustrating:
// I know I'm getting just one result
session.run(query, params).then(({ records }) => records[0].get(some_key).properties)
// I know I'm getting a list of results
session.run(query, params).then(({ records }) => records.map(r => r.get(some_key).properties)
I'm sure there are lots of use cases for all of that other machinery on the response, but a quick "just give me some json that looks like my data" method would be sublimely convenient.
Metadata
Metadata
Assignees
Labels
No labels