Expand description
§Surrealdb AST
This crate is the internal library of SurrealDB. It contains the implemention of the surrealql abstract syntax tree.
Unstable!
This crate is SurrealDB internal API. It does not adhere to SemVer and its API is free to change and break code even between patch versions. If you are looking for a stable interface to the SurrealDB library please have a look at the Rust SDK.Macros§
- ast_dbg
- Debug macro that can pretty format ast types.
Structs§
- Access
- Access
Grant - Access
Purge - Access
Revoke - Access
Show - AllPresent
Place - Alter
Access - Alter
Analyzer - Alter
Api - Alter
Bucket - Alter
Config - Alter
Database - Alter
Event - Alter
Field - Alter
Function - Alter
Index - Alter
Method ApiActions - Alter
Namespace - Alter
Param - Alter
Sequence - Alter
System - Alter
Table - Alter
User - ApiAction
- ApiMiddleware
- Array
- Array
Like Type - Assignment
- Basic
Lookup - Bearer
Access - Binary
Expr - Block
- Bytes
Lit - Closure
- Count
Index - Create
- Decimal
Decimalrepresents a 128 bit representation of a fixed-precision decimal number. The finite set of values of typeDecimalare of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.- Define
Access - Define
Analyzer - Define
Api - Define
Bucket - Define
Config - Define
Config Api - Define
Config Default - Define
Config Graphql - Define
Database - Define
Event - Define
Event Async - Define
Field - Define
Function - Define
Index - Define
Method ApiActions - Define
Module - Define
Namespace - Define
Param - Define
Sequence - Define
Table - Define
User - Delete
- Destructure
- Disk
AnnIndex - Parsed
DISKANNindex options from aDEFINE INDEXstatement. - Explain
- Field
Permissions - FileLit
- For
- Full
Text Index - Geometry
Type - Hnsw
Index - Ident
- Ident
List Type - Idiom
Expr - If
- Index
Place - Index
Present Place - Info
- Insert
- Insert
Tuples - Integer
- JsFunction
- JsFunction
Body - Jwt
- JwtIssue
- Kill
- Last
Present Place - Let
- Library
- Type containing all the possible node types.
- LitArray
Type - LitObject
Type - LitObject
Type Entry - Lookup
Subject Range - Lookup
Subject Table - Member
Place - Member
Present Place - Mock
- Ngram
Mapper - NodeId
- Node
List - A struct for a linked list of nodes.
- Node
List Id - An id for a linked list of nodes.
- Object
- Object
Entry - Option
Stmt - Order
- Param
- Parameter
- Path
- Point
- Postfix
Expr - Prefix
Expr - Query
- Rebuild
- Record
Access - Record
Id - Record
IdKey Range - Recurse
- Regex
- Relate
- Relation
Table - Remove
Access - Remove
Analyzer - Remove
Api - Remove
Bucket - Remove
Config - Remove
Database - Remove
Event - Remove
Field - Remove
Function - Remove
Index - Remove
Module - Remove
Namespace - Remove
Param - Remove
Sequence - Remove
Table - Remove
User - Return
- Select
- Select
Lookup - Selector
- Set
- Show
- Spanned
- String
Lit - Table
Permissions - Transaction
- Update
- Upsert
- Use
- Uuid
- A Universally Unique Identifier (UUID).
- Version
Enums§
- Access
Kind - Access
Revoke Kind - Access
Show Kind - Access
Subject - Access
Type - Algorithm
- Alter
Kind - Assignment
Op - Base
- Bearer
Access Subject - Binary
Operator - Builtin
- Change
Feed - Define
Config Kind - Define
Kind - Destructure
Operator - Direction
- Distance
- Explain
Clause - Explain
Format - Expr
- Field
Default - Fields
- Filter
- Full
Text Scoring - Function
Config - Geometry
SubType - Graphql
Introspection - Group
- Idiom
Operator - Index
- Info
Kind - Insert
Data - Insert
Into - JwtVerify
- Kill
Kind - List
Selector - Lookup
- Lookup
Subject - Matches
Operator - Mock
Kind - Module
Name - OnDelete
- OrderBy
- Order
Direction - Output
- Path
Segment - Permission
- Place
- Postfix
Operator - Prefix
Operator - Present
Place - Prime
Type - Purge
Kind - Record
Data - Record
IdKey - Record
IdKey Generate - Recurse
Kind - Remove
Config Kind - Schema
- Show
Since - Show
Target - Sign
- Table
Kind - Tables
Config - TopLevel
Expr - Type
- UseKind
- The namespace and database are expressions, not identifiers: a name may
be computed, as it may anywhere else a resource is named (
USE DB $db,USE DB type::string(..)). Evaluation coerces the result to a string. - User
Secret - Vector
Type - With
Index
Traits§
- AstSpan
- Trait for types which have an ast, possibly needing access to the full ast to calculate.
- Node
- Trait for types which can be part of the ast.
- Unique
Node - Trait for types which can be part of the ast in a hash-consed set.