#ifndef QUERY_BUILDER_H #define QUERY_BUILDER_H #include class QueryBuilder { public: virtual QueryBuilder *select(const std::string ¶ms); virtual QueryBuilder *where(const std::string ¶ms); virtual QueryBuilder *from(const std::string ¶ms); virtual QueryBuilder *limit(const int min, const int max); virtual QueryBuilder *insert(const std::string &table_name, const std::string ¶ms_str); virtual void finalize(); QueryBuilder(); virtual ~QueryBuilder(); std::string query_result; }; #endif