Skip to content

Conversation

bigmontz
Copy link
Contributor

No description provided.

@bigmontz bigmontz merged commit e8d0b4c into neo4j:4.2 Jan 27, 2021
const session = context.driver.session()
return session
.readTransaction(tx => tx.run('MATCH (n) RETURN count(n)'))
.writeTransaction(tx => tx.run('MATCH (n) RETURN count(n)'))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's... counter-intuitive :)
out of curiosity, is the change done to force the query to be routed to the cluster leader?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants