API: Stores

Note

This module has been designed to work on Linux and may not operate correctly - or at all - on other platforms.

The store module provides a class for working with a Neo4j data store, typically contained within the data/graph.db directory.

class py2neo.store.GraphStore(path)[source]

A physical database store on disk.

drop(force=False)[source]

Delete this store directory.

Parameters:force
classmethod for_server(server)[source]

Return the store object for the given server.

Parameters:server – A py2neo.server.GraphServer object.
Return type:GraphStore
locked

Returns True if store is currently in use, False otherwise.

path = None

The full file path of this store.