Module sqlparser::ast

source ·
Expand description

SQL Abstract Syntax Tree (AST) types

Modules§

Structs§

Enums§

Traits§

  • A type that can be visited by a Visitor. See Visitor for recursively visiting parsed SQL statements.
  • A type that can be visited by a VisitorMut. See VisitorMut for recursively visiting parsed SQL statements.
  • A visitor that can be used to walk an AST tree.
  • A visitor that can be used to mutate an AST tree.

Functions§

  • Invokes the provided closure on all expressions (e.g. 1 + 2) present in v
  • Invokes the provided closure iteratively with a mutable reference to all expressions present in v.
  • Invokes the provided closure on all relations (e.g. table names) present in v
  • Invokes the provided closure with a mutable reference to all relations (e.g. table names) present in v.
  • Invokes the provided closure iteratively with a mutable reference to all statements present in v (e.g. SELECT, CREATE TABLE, etc).
  • Invokes the provided closure on all statements (e.g. SELECT, CREATE TABLE, etc) present in v