implemented query_builder::join and query_builder::on and added a test
This commit is contained in:
@@ -80,6 +80,8 @@ private:
|
||||
QUERY_DELETE,
|
||||
QUERY_SET,
|
||||
QUERY_FROM,
|
||||
QUERY_JOIN,
|
||||
QUERY_ON,
|
||||
QUERY_INTO,
|
||||
QUERY_WHERE,
|
||||
QUERY_VALUES,
|
||||
@@ -129,7 +131,7 @@ public:
|
||||
query_builder& values(std::initializer_list<any_type> values);
|
||||
query_builder& values(const std::vector<any_type> &values);
|
||||
query_builder& from(const std::string &table, const std::string &as = "");
|
||||
query_builder& join(const std::string &table, join_type_t);
|
||||
query_builder& join(const std::string &table, join_type_t, const std::string &as = "");
|
||||
query_builder& on(const std::string &column, const std::string &join_column);
|
||||
query_builder& set(std::initializer_list<key_value_pair> key_values);
|
||||
query_builder& set(const std::vector<key_value_pair> &key_values);
|
||||
|
||||
Reference in New Issue
Block a user