- Cypher
- Python SDK
Copy
Ask AI
// Create a new change on the graph
CREATE GRAPH my_graph
Copy
Ask AI
from turingdb import TuringDB
# Create TuringDB client
# set host parameter to the URL (as string) on which TuringDB is running,
# default "http://localhost:6666"
client = TuringDB(host="http://localhost:6666")
# Create a new graph called my_graph
client.create_graph("mygraph")
# Set working graph
client.set_graph("mygraph")

