![]() |
mutable
A Database System for Research and Fast Prototyping
|
A SQL update statement. More...
#include <AST.hpp>
Public Types | |
using | set_type = std::pair< Token, std::unique_ptr< Expr > > |
Public Member Functions | |
UpdateStmt (Token table_name, std::vector< set_type > set, std::unique_ptr< Clause > where) | |
void | accept (ASTCommandVisitor &v) override |
void | accept (ConstASTCommandVisitor &v) const override |
void | dot (std::ostream &out) const |
Writes a Graphivz dot representation of this Stmt to out . | |
void | dump (std::ostream &out) const |
void | dump () const |
Data Fields | |
Token | table_name |
std::vector< set_type > | set |
std::unique_ptr< Clause > | where |
using m::ast::UpdateStmt::set_type = std::pair<Token, std::unique_ptr<Expr> > |
|
overridevirtual |
Implements m::ast::Command.
|
overridevirtual |
Implements m::ast::Command.
|
inherited |
Writes a Graphivz dot representation of this Stmt
to out
.
Used to render ASTs with Graphivz.
Definition at line 217 of file AST.cpp.
References m::ast::Stmt::dot().
Referenced by m::ast::Stmt::dot().
|
inherited |
Definition at line 251 of file AST.cpp.
References m::ast::Command::dump().
Referenced by m::ast::Command::dump().