pp function

This commit is contained in:
2021-08-16 13:55:51 +02:00
parent b03462da6a
commit a344f5b62f
6 changed files with 88 additions and 29 deletions

4
usql.h
View File

@@ -46,12 +46,14 @@ private:
static std::unique_ptr<ValueNode> eval_arithmetic_operator(ColumnType outType, ArithmeticalOperatorNode &node, Table *table, Row &row) ;
static std::unique_ptr<Table> create_stmt_result_table(long code, const std::string &text, size_t affected_rows);
static std::tuple<int, ColDefNode> get_column_definition(Table *table, SelectColNode *select_col_node, int col_order) ;
static std::tuple<int, ColDefNode> get_node_definition(Table *table, Node *select_col_node, const std::string & col_name, int col_order) ;
static std::tuple<int, ColDefNode> get_function_node_definition(const std::string &col_name, int col_order, const FunctionNode *func_node);
Table *find_table(const std::string &name);
void check_table_not_exists(const std::string &name);
static std::unique_ptr<Table> create_stmt_result_table(long code, const std::string &text, size_t affected_rows);
private:
Parser m_parser;