mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
21 lines
508 B
C
21 lines
508 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);
|
||
|
*/
|
||
|
QueryBuilder();
|
||
|
virtual ~QueryBuilder();
|
||
|
|
||
|
std::string query_result;
|
||
|
};
|
||
|
|
||
|
#endif
|