rcpp_framework/core/database/database.cpp

36 lines
673 B
C++
Raw Normal View History

2020-12-01 14:00:49 +01:00
#include "database.h"
#include "query_builder.h"
#include "table_builder.h"
#include "query_result.h"
void Database::connect(const String &connection_str) {
}
Ref<QueryResult> Database::query(const String &query) {
return Ref<QueryResult>();
}
void Database::query_run(const String &query) {
}
2020-12-01 22:23:28 +01:00
Ref<QueryBuilder> Database::get_query_builder() {
return Ref<QueryBuilder>(new QueryBuilder());
2020-12-01 22:23:28 +01:00
}
Ref<TableBuilder> Database::get_table_builder() {
return Ref<TableBuilder>(new TableBuilder());
}
String Database::escape(const String str) {
return String();
}
void Database::escape(const String str, String *to) {
}
2020-12-01 14:00:49 +01:00
Database::Database() {
}
Database::~Database() {
}