supertokens-core icon indicating copy to clipboard operation
supertokens-core copied to clipboard

Support Neo4j

Open johannbuscail opened this issue 2 years ago • 5 comments

Would be cool to add support for Neo4j !

johannbuscail avatar Oct 02 '21 19:10 johannbuscail

Does neo4j support transactions and "node" level locking?

rishabhpoddar avatar Oct 03 '21 05:10 rishabhpoddar

@rishabhpoddar it does support transactions but i'm not sure what you mean by node level locking

johannbuscail avatar Oct 03 '21 13:10 johannbuscail

@johannb75 what I meant is being able to acquire a lock on a node similar to SQL's select for update queries

rishabhpoddar avatar Oct 03 '21 13:10 rishabhpoddar

This might help: https://neo4j.com/labs/apoc/4.1/graph-updates/locking/

johannbuscail avatar Oct 09 '21 15:10 johannbuscail

@rishabhpoddar

Does neo4j support transactions and "node" level locking?

Yes, see:

Locks are acquired at the Node and Relationship levels.

https://neo4j.com/docs/java-reference/current/transaction-management/

See also: https://neo4j.com/docs/operations-manual/current/authentication-authorization/

How would you recommend to use Supertokens with Neo4j?

redbar0n avatar Feb 07 '23 12:02 redbar0n