rcpp_framework/core/database/database.cpp

36 lines
713 B
C++

#include "database.h"
#include "query_builder.h"
#include "table_builder.h"
#include "query_result.h"
void Database::connect(const std::string &connection_str) {
}
Ref<QueryResult> Database::query(const std::string &query) {
return Ref<QueryResult>();
}
void Database::query_run(const std::string &query) {
}
Ref<QueryBuilder> Database::get_query_builder() {
return Ref<QueryBuilder>(new QueryBuilder());
}
Ref<TableBuilder> Database::get_table_builder() {
return Ref<TableBuilder>(new TableBuilder());
}
std::string Database::escape(const std::string str) {
return std::string();
}
void Database::escape(const std::string str, std::string *to) {
}
Database::Database() {
}
Database::~Database() {
}