Module sql

Source
Expand description

The full type definitions for the SurrealQL query language

Re-exports§

pub use self::index::Index;
pub use self::parser::idiom;
pub use self::parser::json;
pub use self::parser::parse;
pub use self::parser::subquery;
pub use self::parser::thing;
pub use self::parser::value;

Modules§

index
serde
statements

Structs§

Access
Accesses
Array
Block
Bytes
Cast
ChangeFeed
Closure
Cond
Datetime
Duration
Edges
Explain
Fetch
Fetchs
Fields
Future
Graph
Group
Groups
IdRange
Ident
Idiom
Idioms
JwtAccess
Limit
Model
Object
Invariant: Keys never contain NUL bytes.
Order
Param
Permissions
Query
Range
RecordAccess
Regex
Relation
Script
Split
Splits
Start
Statements
Strand
A string that doesn’t contain NUL bytes.
Table
Tables
Thing
Timeout
Uuid
Values
Version
View

Enums§

AccessType
The type of access methods available
Algorithm
Base
Constant
Data
Dir
Entry
Expression
Binary expressions.
Field
Filter
Function
Geometry
Id
Kind
Literal
Mock
Number
Operation
Operator
Binary operators.
Output
Part
Permission
Scoring
Statement
Subquery
TableType
The type of records stored by a table
Tokenizer
Value
With

Functions§

from_value
Deserializes a value T from SurrealDB Value
to_value
Convert a T into surrealdb::sql::Value which is an enum that can represent any valid SQL data.