TypeDB Drivers
Welcome to the TypeDB driver documentation!
Introduction
To build an application on TypeDB, we need to use a TypeDB driver to communicate with the server. TypeDB servers expose two external endpoints:
-
TypeDB RPC (used for all the officially supported programming languages);
-
TypeDB HTTP (a more accessible API for other tools, including web applications and languages with a reduced RPC support).
Drivers with language-specific native APIs are available for some of the most popular programming languages: Rust, Python, and Java. Drivers for Node.js, C#, C++, and C are soon to be published.
Driver architecture
TypeDB drivers share a common architecture and capabilities. The key components are providing a native-language API, opening and managing connections, controlling transactions, sending queries, and processing responses. TypeDB servers accept client connections via gRPC based on the TypeDB protocol.
The Java and Python drivers are implemented as wrappers on top of the Rust driver via an FFI interface. |