EdgeQL Tutorial

Introduction

Hello there!

You've reached our interactive tutorial, the fastest way to try out EdgeDB without installing it — just hit the "Run" button below each code sample to see the result! You can also click on "Schema" to see how the sample database is put together.

(By the way, once you're done this tutorial feel free to check some other resources: our Easy EdgeDB textbook, cheatsheets, and blog posts on why we put EdgeDB together and where we're going from here.)

This first example just uses select to return a string. Click "Run" to return it!

Input
Run
Output Objects
Press the 'Run' button to evaluate the input

Strings can use either a double quote (") or a single quote ('). EdgeDB is fine with either case, as long as the same quotation marks are used on each side of a string.

Strings in EdgeDB are UTF-8 encoded so the following will also work just fine:

Input
Run
Output Objects
Press the 'Run' button to evaluate the input

We use ChatGPT with additional context from our documentation to answer your questions. Not all answers will be accurate. Please join our Discord if you need more help.