# Coding and Queries

This section covers the programming interfaces and query languages available in Curiosity Workspace for customizing behavior and accessing data.

# Graph

Learn about the Graph class (formerly SafeGraph), which provides thread-safe access to the graph database and handles deadlock prevention.

# Querying the Graph

Explore the fluent IQuery interface for constructing powerful graph queries, filtering data, and traversing relationships.

# Querying with LINQ

Understand how to integrate IQuery with standard LINQ operations for in-memory processing.

# Async Operations

Manage asynchronous execution and handle low-level node locking for safe writes.

# Migrating from Cypher

A guide for users familiar with Cypher to transition to Curiosity's C# query builder, with numerous examples.

# Troubleshooting

Tips for diagnosing and resolving common issues like deadlocks and performance bottlenecks.

# Shell & Migration Scopes

Execution contexts for administrative shell sessions and data migrations.

# Workspace Migrations

Detailed guide and examples for creating and running data migration scripts.

# AI Tools Scope

The scope used when building custom tools for Chat AI.