2020-12-01 14:00:49 +01:00
|
|
|
#include "database.h"
|
|
|
|
|
2020-12-02 00:43:46 +01:00
|
|
|
#include "query_builder.h"
|
|
|
|
#include "table_builder.h"
|
|
|
|
#include "query_result.h"
|
|
|
|
|
2021-11-01 17:49:10 +01:00
|
|
|
void Database::connect(const String &connection_str) {
|
2020-12-01 18:29:41 +01:00
|
|
|
}
|
|
|
|
|
2021-11-01 17:49:10 +01:00
|
|
|
Ref<QueryResult> Database::query(const String &query) {
|
2021-11-01 16:57:22 +01:00
|
|
|
return Ref<QueryResult>();
|
2020-12-02 00:43:46 +01:00
|
|
|
}
|
2021-11-01 17:49:10 +01:00
|
|
|
void Database::query_run(const String &query) {
|
2020-12-01 18:29:41 +01:00
|
|
|
}
|
2020-12-01 22:23:28 +01:00
|
|
|
|
2021-11-01 16:57:22 +01:00
|
|
|
Ref<QueryBuilder> Database::get_query_builder() {
|
|
|
|
return Ref<QueryBuilder>(new QueryBuilder());
|
2020-12-01 22:23:28 +01:00
|
|
|
}
|
2020-12-01 18:29:41 +01:00
|
|
|
|
2021-11-01 16:57:22 +01:00
|
|
|
Ref<TableBuilder> Database::get_table_builder() {
|
|
|
|
return Ref<TableBuilder>(new TableBuilder());
|
2020-12-01 23:37:10 +01:00
|
|
|
}
|
|
|
|
|
2021-11-01 17:49:10 +01:00
|
|
|
String Database::escape(const String str) {
|
|
|
|
return String();
|
2021-07-08 18:52:59 +02:00
|
|
|
}
|
|
|
|
|
2021-11-01 17:49:10 +01:00
|
|
|
void Database::escape(const String str, String *to) {
|
2021-07-08 18:52:59 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-12-01 14:00:49 +01:00
|
|
|
Database::Database() {
|
|
|
|
}
|
|
|
|
|
|
|
|
Database::~Database() {
|
|
|
|
}
|