Module statement

Module statement 

Source

Structs§

InvalidVar
SetVar
ShowVar
TableDelete
TableInsert
TableUpdate

Enums§

DML
Statement

Functions§

compile_sql_stmt
Parse and type check a general query into a StatementCtx.
parse_and_type_sql
type_and_rewrite_set
The concept of SET only exists in the ast. We translate it here to an INSERT on the st_var system table. That is:
type_and_rewrite_show
The concept of SHOW only exists in the ast. We translate it here to a SELECT on the st_var system table. That is:
type_delete
Type check a DELETE statement
type_insert
Type check an INSERT statement
type_update
Type check an UPDATE statement