MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
插入语句 更多...
#include <insert_stmt.h>
Public 成员函数 | |
InsertStmt (Table *table, const Value *values, int value_amount) | |
StmtType | type () const override |
Table * | table () const |
const Value * | values () const |
int | value_amount () const |
virtual StmtType | type () const =0 |
静态 Public 成员函数 | |
static RC | create (Db *db, const InsertSqlNode &insert_sql, Stmt *&stmt) |
![]() | |
static RC | create_stmt (Db *db, ParsedSqlNode &sql_node, Stmt *&stmt) |
Private 属性 | |
Table * | table_ = nullptr |
const Value * | values_ = nullptr |
int | value_amount_ = 0 |
插入语句
|
inlineoverridevirtual |
实现了 Stmt.