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"
|
|
|
|
|
2020-12-01 18:29:41 +01:00
|
|
|
void Database::connect(const std::string &connection_str) {
|
|
|
|
}
|
|
|
|
|
2020-12-02 00:43:46 +01:00
|
|
|
QueryResult *Database::query(const std::string &query) {
|
2020-12-02 00:49:17 +01:00
|
|
|
return nullptr;
|
2020-12-02 00:43:46 +01:00
|
|
|
}
|
|
|
|
void Database::query_run(const std::string &query) {
|
2020-12-01 18:29:41 +01:00
|
|
|
}
|
2020-12-01 22:23:28 +01:00
|
|
|
|
2020-12-01 23:37:10 +01:00
|
|
|
QueryBuilder *Database::get_query_builder() {
|
2020-12-01 22:23:28 +01:00
|
|
|
return new QueryBuilder();
|
|
|
|
}
|
2020-12-01 18:29:41 +01:00
|
|
|
|
2020-12-01 23:37:10 +01:00
|
|
|
TableBuilder *Database::get_table_builder() {
|
|
|
|
return new TableBuilder();
|
|
|
|
}
|
|
|
|
|
2020-12-01 14:00:49 +01:00
|
|
|
Database::Database() {
|
|
|
|
}
|
|
|
|
|
|
|
|
Database::~Database() {
|
|
|
|
}
|