• Products
    Services
    Database
    Explore the capabilities of TypeDB
    Enterprise
    Take full control of TypeDB
    Community Edition
    The open-source version of TypeDB
    Platform
    Cloud
    Deploy in a hosted cloud environment
    Tools
    Studio
    Work with a beautiful IDE
    Console
    Develop with a powerful CLI
    Driver SDKs
    Build with native language drivers
    • Why TypeDB?
      Learn more
    • Try cloud free
      Launch
    • Pricing and plans
      View pricing
  • Resources
    Learn
    Documentation
    Read the docs
    Get started
    Get up and running with TypeDB
    Examples
    Try practical examples & use cases
    Content
    Blogs
    Our technical developer blog
    Videos
    Be sure to like and subscribe
    Research
    Academic research papers
    Startup program
    Are you a builder or breaker?
    Support
    Enterprise and community support
  • Pricing
    4k
  • Sign in
  • Start building

Docs Home

Ask TypeDB AI
TypeDB 2.x
  • TypeDB 3.x (current)
     
  • TypeDB 2.x
     
  • Get Started

    • Docs home
    • Get started
    • Install tools
    • Quickstart
    • Crash course
      • New database users
      • Relational database users
      • Graph database users
  • Manual

    • TypeDB Manual
    • TypeDB Console
    • TypeDB Studio
    • Connecting to TypeDB
      • Connect to server
      • Create a database
      • Open a session
      • Open a transaction
    • Defining schemas
      • Define query
      • Undefine query
      • Schema editing
    • Writing data
      • Insert query
      • Delete query
      • Update query
    • Reading data
      • Fetch query
      • Get query
      • Inference
    • Transactions
    • Programming objects
      • Schema objects
      • Data objects
      • Explanation objects
    • Bulk loading
      • Formatting data
      • Preventing duplication
      • Optimizing speed
    • Configuring servers
      • Config file
      • Server arguments
      • Logs
      • Export and import
      • Upgrades
      • Users
    • Error codes
      • TypeDB error codes
      • TypeQL error codes
      • TypeDB drivers error codes
    • Self-managed deployments
      • TypeDB Enterprise
  • Drivers

    • TypeDB Drivers
    • Rust driver
      • Tutorial
      • API reference
    • Python driver
      • Tutorial
      • API reference
    • Node.js driver
      • Tutorial
      • API reference
    • Java driver
      • Tutorial
      • API reference
      • Query builder
    • C# driver
      • Tutorial
      • API reference
    • C++ driver
      • Tutorial
      • API reference
    • C driver
      • Tutorial
      • API reference
  • TypeQL

    • TypeQL
    • Introduction
    • Queries
      • Define
      • Undefine
      • Insert
      • Delete
      • Update
      • Fetch
      • Get
    • Patterns
      • Conjunction
      • OR
      • NOT
      • Matching patterns
    • Statements
      • isa
      • is
      • has
      • sub
      • type
      • abstract
      • owns
      • value
      • regex
      • relates
      • plays
      • rule
      • @key
      • @unique
      • role assignment
      • value assignment
    • Modifiers
      • Sorting
      • Pagination
      • Aggregation
      • Grouping
    • Concepts
      • Types
      • Data instances
      • Concept variables
    • Values
      • Value types
      • Value variables
      • Comparators
      • Arithmetic
      • Built-in functions
    • Keywords
  • TypeDB Academy

    • Course overview
    • 1. Introduction to TypeDB
    • 2. Environment setup
      • Sample deployment
      • Using TypeDB Studio
    • 3. Reading data
      • Fetching simple data
      • Fetching polymorphic data
      • Fetching inferred data
      • Fetching schema types
      • Query validation
      • Summary
    • 4. Writing data
      • Inserting simple data
      • Inserting polymorphic data
      • Deleting data
      • Updating data
      • Data validation
      • Summary
    • 5. Defining schemas
      • Defining individual types
      • Defining type hierarchies
      • Defining constraints
      • Defining rules
      • Schema validation
      • Summary
    • 6. Building applications
      • Driver setup
      • Managing databases
      • Sessions and transactions
      • Executing queries
      • Processing results
      • Summary
    • Fundamentals - Summary
    • 7. Understanding query patterns
      • Patterns as constraints
      • Relation patterns
      • Logical operators
      • Value comparisons
      • Value expressions
      • Solution set semantics
      • Summary
    • 8. Structuring query results
      • Fetching attributes
      • Subqueries
      • Aggregations
      • Sorting and pagination
      • Summary
    • 9. Modeling schemas
      • The PERA model
      • Determining object types
      • Avoiding data redundancies
      • Using type hierarchies
      • Composition over inheritance
      • Using interface hierarchies
      • Avoiding interface redundancies
      • Summary
    • 10. Using inference
      • Rules as views
      • Rule chaining
      • Rule branching
      • Summary
    • Intermediate - Summary
    • 11. Manipulating stateful objects
      • Retrieval by query
      • Programmatic retrieval
      • Operating on objects
      • Summary
    • 12. Advanced modeling
      • Using dependent types
      • Using type-theoretic relations
      • Reifying interfaces
      • Using interface contracts
      • Summary
    • Advanced - Summary

Error codes

TypeDB

TypeDB server-side error codes reference.

TypeQL

TypeQL error reference.

Drivers

TypeDB drivers client-side error reference.

Users TypeDB error codes
Subscribe to Newsletter
undefinedDiscordYouTubeLinkedIn

Connect

  • Chat on Discord

  • Contact Us

  • Provide Feedback

Products

  • Database
  • Cloud
  • Studio
  • Community Edition
  • Enterprise
  • Pricing

Resources

  • What is TypeDB?
  • Why TypeDB?
  • Lectures
  • Papers
  • Blog
  • Startup Program

Developers

  • Documentation
  • Examples
  • Core Concepts
  • Tools
  • Maintenance
  • Reference

Company

  • LinkedIn
  • GitHub
  • Privacy Policy
  • Terms of Service
© 2025 TypeDB Ltd
TypeDB™ and TypeQL™ are trademarks of TypeDB Ltd