Module sql

Source
Expand description

The full type definitions for the SurrealQL query language

Modules§

serde
statements

Structs§

Access
Accesses
Array
Block
Bytes
Cast
ChangeFeed
Closure
Cond
Datetime
Duration
Edges
Explain
Fetch
Fetchs
Fields
Future
Graph
Group
Groups
Ident
Idiom
Idioms
JwtAccess
Limit
Model
Object
Invariant: Keys never contain NUL bytes.
Order
Orders
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
Index
Kind
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
idiom
Parses a SurrealQL Idiom
json
Parses JSON into an inert SurrealQL Value
parse
Parses a SurrealQL Query
subquery
Parses a SurrealQL Subquery Subquery
thing
Parse a record id.
to_value
Convert a T into surrealdb::sql::Value which is an enum that can represent any valid SQL data.
value
Parses a SurrealQL Value.