Skip to content
NEW

Spectron: AI agent memory that actually works

Sign up to waitlist

1/3

Course content preview

1: Connecting to a database

The examples in this course are inside mini windows of their own that look like this...

-- Returns a string
"Click on the 'Run in Surrealist' button to run this query!";

-- Also returns a string
RETURN
"Results display without needing the RETURN keyword, " +
"but you can add it if you want";

...and this.

"Just don't forget"
"the semicolon between statements"
"or you will get an error."
"Add some semicolons to make these statements work!"

You don't need to install SurrealDB or create your own connection to run any of them.

But you can also run the examples in a more manual way, if you prefer. Here is how to do it.