Batch imports
Py2neo.batch provides the Batch API, which is a wrapper around the Neo4j REST Batch API (http://neo4j.com/docs/stable/rest-api-batch-ops.html).
The Batch API in py2neo or in Neo4j is designed to wrap multiple and varied types of read, write, update, and delete REST requests in a single transaction. Though it seems to be a good choice to use batch operations, it is not recommended for new use cases that are built for Neo4j 2.0+. For example, schemas, and labels are not supported by the Batch API.
Neo4j 2.0 introduces a new Cypher HTTP Transactional endpoint that executes multiple Cypher statements into a single request and that too in a transaction (http://neo4j.com/docs/milestone/rest-api-transactional.html). It is strongly recommended ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access