TuringDB home pagelight logodark logo
  • Discord
  • GitHub
  • Website
TuringDB

Get Started

  • Introduction
  • Get Started
  • Claude Code Skill
  • Commands

Concepts

  • Overview
  • A Columnar Graph Database
  • Versioning System
  • The DataPart System
  • Zero-Locking Architecture
  • Snapshots Isolation

Benchmarks

  • Results Summary
  • Technical Report

Query Language

  • Query Language
  • CheatSheet

Importing data

  • JSONL
  • CSV
  • Neo4j
  • GML
  • Parquet

Graph Development

  • Create Graph
  • Load Graph
  • Load External data
  • Create a Change
  • List Changes
  • Create Nodes and Edges
  • Update Properties
  • Submit a Change
  • Time Travel
  • Graph Examples

Vector Search

  • Vector Search

Graph Algorithms

  • Shortest Path

Tutorials

  • Example Notebooks

Python SDK

  • Get Started
  • Reference

Troubleshooting

  • Troubleshooting
Graph Development

Create a Change

Creating a change on a TuringDB graph is similar to creating a new branch on a git repository. It gives you access to an isolated writable environment that has no impact on other users.

  • Cypher
  • Python SDK
// Create a new change on the graph
change new

// Checkout into the change
checkout change-<ID>  // e.g. checkout change-0

Each time you execute change new, a new change is created using the next integer available. This means if 3 changes have already been created (with IDs 0, 1 and 2), the next change will have the ID 3. To checkout in this change, execute checkout change-3.

# Create a new change on the graph
change = client.new_change()

# Checkout into the change
client.checkout(change=change)

Each time you execute client.new_change(), a new change is created using the next integer available. This means if 3 changes have already been created (with IDs 0, 1 and 2), the next change will have the ID 3. To checkout in this change, execute client.checkout(change=3).

Load External dataList Changes
githublinkedinyoutubediscord