Skip to content

Product documentation

TypeDB

TypeDB is a strongly typed database combining the PERA model with polymorphic queries in fully composable TypeQL. The documentation covered TypeDB, TypeQL, native drivers and TypeDB Cloud.

My roleSenior Technical Writer, TypeDB (formerly Vaticle), 2022–2024

The TypeDB documentation overview from the Internet Archive's 15 June 2024 snapshot, framed with teal project artwork.
The documentation snapshot dated 15 June 2024, captured from the Internet Archive in November 2026, with decorative framing.

Product summary

TypeDB is a strongly typed database for modelling interconnected data and querying it through TypeQL. Its main features include:

  • Strong typing and the PERA model. The polymorphic entity–relation–attribute (PERA) model represents entities, relationships and their attributes, with a schema defining types and their permitted connections. TypeDB checks queries against this schema before executing them, helping catch invalid combinations of types.
  • Fully composable and declarative TypeQL. Developers describe the data they want through declarative patterns, combining conditions with conjunction, disjunction and negation. The same language supports schema definitions, data changes and queries.
  • Polymorphic queries. A query written for a parent type can also match its subtypes. For example, a query for media files can include images, videos and newly added audio files without a separate query for each.
  • Reusable query logic. TypeQL functions let developers express business logic as reusable queries, including nested and recursive computations. These functions can be called within query patterns to derive results from stored data.
  • Transactional operations. Reads, writes and schema changes run within transactions, each with a consistent snapshot of the database. Changes are committed together or rolled back, helping applications keep related updates consistent.
  • Native drivers and developer tools. Language-specific drivers provide APIs for connections, queries and transactions. TypeDB Studio offers a graphical development environment, while TypeDB Console supports interactive use and scripts.
  • Self-hosted and cloud deployments. TypeDB Community Edition is open source, and TypeDB Enterprise supports deployments on your own infrastructure. TypeDB Cloud offers managed deployments with security features and high availability.

Its documentation helps developers install the product, learn its concepts, build applications and look up technical details.

The examples and gallery below show the TypeDB 2.x documentation archived in June 2024, during my time at the company. The product summary links to the current documentation.

My involvement

I worked at TypeDB, formerly Vaticle, from 2022 to 2024 as a Senior Technical Writer and the company’s first documentation specialist. Working with the engineering team, I documented its open-source, enterprise and cloud products.

My work covered installation guides, quick starts, developer guides, tutorials and API references, including all the language-specific examples available at the time. Alongside the writing, I collaborated with engineers on CI/CD automation, documentation tests and API reference generation.

My role extended beyond overhauling the documentation. I also collaborated with engineers on ideas for improving the user experience and on testing.

Main challenges

The documentation had to introduce TypeDB’s distinctive data model and query language while supporting developers who needed practical instructions or precise reference material. The work therefore ranged from installation and first queries to application development and API details.

My main goal was to keep readers engaged and inspire them to try the product and experiment with it. TypeDB takes a novel approach to data modelling and querying. To explain its benefits and what made it different, I had to introduce the underlying principles and demonstrate practical use cases.

The archived examples preserve both the guided material and the reference structure from that period.

Examples

Image preview

Loading image…