mirror of
https://github.com/Relintai/rcpp_fw_static.git
synced 2024-11-20 21:37:18 +01:00
21 lines
529 B
C++
21 lines
529 B
C++
#ifndef QUERY_BUILDER_H
|
|
#define QUERY_BUILDER_H
|
|
|
|
#include <string>
|
|
|
|
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 |