Officially out now: The TypeDB 3.0 Roadmap >>

Lesson 6: Building applications

In this lesson, we’ll learn how to use the TypeDB native language drivers to build applications on TypeDB. We’ll start by seeing how to manage databases, then move onto using sessions and controlling transactions. We’ll see how we use different session and transaction types to execute queries, and how we can process results that are returned.

The examples and exercises in this lesson feature the official TypeDB Python driver.

  • You should complete Lesson 5 before starting this lesson.

Lesson contents

Install and import the official TypeDB Python driver.

Learn how to connect to a server and manage databases.

Learn how to open sessions and control transactions.

Learn how to execute read, write, and schema queries.

Learn how to efficiently process the results of read queries.

Using other driver languages

Official drivers are also available for other languages. All official drivers offer very similar APIs, so it is recommended to use the Python driver while following this course, as the skills learned will be easily transferable to the other drivers.