rcpp_framework/database/mysql/mysql_query_builder.h

22 lines
551 B
C++

#ifndef MYSQL_QUERY_BUILDER_H
#define MYSQL_QUERY_BUILDER_H
#include <memory>
#include <string>
#include "core/query_builder.h"
class MysqlQueryBuilder : public QueryBuilder {
public:
QueryBuilder *select(const std::string &params);
QueryBuilder *where(const std::string &params);
QueryBuilder *from(const std::string &params);
QueryBuilder *limit(const int min, const int max);
QueryBuilder *insert(const std::string &table_name, const std::string &params_str);
void finalize();
MysqlQueryBuilder();
~MysqlQueryBuilder();
};
#endif