Officially out now: The TypeDB 3.0 Roadmap

Documentation overview

TypeDB & TypeQL are in the process of being rewritten in Rust. There will be significant refinement to the language, and minor breaks in backwards compatibility. Learn more about the changes from our 3.0 Roadmap. The biggest change to TypeDB 3.0 will be our storage data structure and architecture that significantly boosts performance. We’re aiming to release 3.0 in the autumn this year, along with preliminary benchmarks of TypeDB.

The future of databases

The fast advances of modern, high-level declarative programming models in parallel with the rise of distributed and multithreaded systems make it harder and harder to continue piling layers of abstractions on the relational model. TypeDB tackles this issue by re-thinking database systems from first principles, building on a new declarative language paradigm, a polymorphic data model, a powerful logic engine, and a new query execution model.

Complexity will only increase in the years ahead, essentially requiring new declarative programming models focused on intent, the user, and business logic.
— Amin Vahdat (VP/GM at Google)
Coming of age in the fifth epoch of distributed computing, 2024

Getting started

Deploy your TypeDB server, connect to it from a client or driver, and learn how to start building applications with TypeDB.

Set up a TypeDB Cloud or Core deployment, clients, and language drivers.

Connect to your TypeDB deployment and run your first queries.

Explore the key ingredients of TypeDB with easy and intuitive examples.

TypeDB Academy

TypeDB Academy is an end-to-end learning experience for TypeDB and TypeQL. Through the lens of a sample bookstore database, you’ll learn how to read data, write data, and build schemas while taking advantage of TypeDB’s unique features as a modern, type-safe, and highly expressive database.

Take your first steps with TypeDB and its query language TypeQL.

Gain an in-depth understanding of how TypeDB works as a database.

Learn advanced techniques for getting the most out of TypeDB.

TypeDB Manual

Practice-oriented guides on using TypeDB, including the TypeDB Studio and TypeDB Console manuals.

How to set up TypeDB Studio, connect to your deployments, run queries, control transactions, modify your schema, and visualize your results.

How to set up TypeDB Console, connect to your deployments, issue commands in interactive and non-interactive modes, and run scripts.

How to connect to your deployments, manage databases, open sessions, and control transactions with TypeDB Studio, Console, and drivers.

How to create a database schema with Define and Undefine queries, with Studio’s graphical interface, and with programmatic API calls.

How to write data to a database with Insert, Delete, and Update queries.

How to read data from a database with Fetch and Get queries, and use rule-based inference.

How to use the driver APIs and to retrieve and manipulate schema types and data instances as stateful objects, and explain the results of rule inference.

How to configure and maintain TypeDB servers: the config file, CLI arguments, logs, database import and export, version upgrades, and user management.

TypeDB drivers

Installation guides, tutorials, and API references for the official TypeDB drivers in all supported languages. See the drivers overview page or select an environment below.

rustRust

Add via cargo to use the Rust driver API.

Install via pip to use the Python driver API.

Install via NPM to use the Node.js driver API.

javaJava

Add to a Maven project to use the Java driver API.

csharpC#

Install via NuGet to use the C# driver API.

cppC++

Import as a library with a header file to use the C++ driver API.

cC

Import as a library with a header file to use the C driver API.

TypeQL reference

Complete language reference for TypeQL, covering all query types, pattern elements, and keywords.

A high-level description of the TypeQL query language and its features.

Breakdown of the different query types in TypeQL.

Breakdown of patterns for building queries.

Breakdown of individual TypeQL statements.

Breakdown of modifiers for structuring query results.

Breakdown of different concepts manipulated with queries.

Breakdown of values and value operations used in queries.

Glossary of TypeQL keywords and terminology.