Skip to content

Commit

Permalink
Added EnterpriseGraph example. (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg84 authored Feb 2, 2023
1 parent ee274ff commit 7cc99c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ db = client.db("test", username="root", password="passwd")
# Create a new graph named "school".
graph = db.create_graph("school")

# Create a new EnterpriseGraph [Enterprise Edition]
eegraph = db.create_graph(
name="school",
smart=True)

# Create vertex collections for the graph.
students = graph.create_vertex_collection("students")
lectures = graph.create_vertex_collection("lectures")
Expand Down

0 comments on commit 7cc99c4

Please sign in to comment.