SurrealDB has a variety of statements that let you configure and query a database: CREATE, INSERT, UPDATE, and so on.
A number of parameters prefixed with $ are automatically available within a statement that provide access to relevant context inside the statement. These are known as reserved variable names. For example:
For a full list of these automatically generated parameters, see the parameters page.