Skip to content

Instantly share code, notes, and snippets.

@elventear
Last active December 11, 2015 09:58
Show Gist options
  • Save elventear/4583467 to your computer and use it in GitHub Desktop.
Save elventear/4583467 to your computer and use it in GitHub Desktop.
Use #gremlin #shell on read-only #neo4j #debug #development #shell
// Source: https://groups.google.com/forum/?fromgroups=#!topic/gremlin-users/60NUGlnyCkw
import org.neo4j.kernel.EmbeddedReadOnlyGraphDatabase
db = new EmbeddedReadOnlyGraphDatabase('/var/lib/neo4j/data/graph.db')
g = new Neo4jGraph(db)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment