EdgeQL Tutorial

Insert

Subtopics

You may have noticed that when you run an insert command, some data is returned as the result. Every insert is also a query that returns the object that was just inserted along with its id. It is possible to get more than just the id by using select and applying a shape to the returned insert as a whole:

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.