EdgeQL Tutorial

Insert

Subtopics

Let's start with adding a simple post. We'll need the actual content and some way to identify the author. We could use the "id" property, but instead we'll use the "email" property because it has an "exclusive" constraint, which means that every email is associated with only one user exclusively:

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

Now let's select the post we just added:

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