rcpp_framework/database/table_builder.cpp

127 lines
2.5 KiB
C++
Raw Normal View History

#include "table_builder.h"
2021-08-19 23:55:16 +02:00
#include "query_result.h"
TableBuilder *TableBuilder::create_table(const String &name) {
return this;
}
TableBuilder *TableBuilder::integer(const String &name) {
return this;
}
TableBuilder *TableBuilder::integer(const String &name, const int length) {
return this;
}
TableBuilder *TableBuilder::tiny_integer(const String &name) {
return this;
}
TableBuilder *TableBuilder::tiny_integer(const String &name, const int length) {
return this;
}
TableBuilder *TableBuilder::small_integer(const String &name) {
return this;
}
TableBuilder *TableBuilder::small_integer(const String &name, const int length) {
return this;
}
TableBuilder *TableBuilder::real_float(const String &name) {
return this;
}
TableBuilder *TableBuilder::real_float(const String &name, const int size, const int d) {
return this;
}
TableBuilder *TableBuilder::real_double(const String &name) {
return this;
}
TableBuilder *TableBuilder::real_double(const String &name, const int size, const int d) {
return this;
}
TableBuilder *TableBuilder::date(const String &name) {
return this;
}
TableBuilder *TableBuilder::varchar(const String &name, const int length) {
return this;
}
2021-11-20 01:39:52 +01:00
TableBuilder *TableBuilder::text(const String &name) {
return this;
}
TableBuilder *TableBuilder::not_null() {
return this;
}
TableBuilder *TableBuilder::null() {
return this;
}
TableBuilder *TableBuilder::defval(const String &val) {
return this;
}
TableBuilder *TableBuilder::auto_increment() {
return this;
}
TableBuilder *TableBuilder::primary_key(const String &name) {
return this;
}
TableBuilder *TableBuilder::primary_key() {
return this;
}
TableBuilder *TableBuilder::next_row() {
return this;
}
2021-08-19 23:55:16 +02:00
TableBuilder *TableBuilder::ccreate_table() {
return this;
}
TableBuilder *TableBuilder::drop_table() {
return this;
}
TableBuilder *TableBuilder::drop_table_if_exists() {
return this;
}
TableBuilder *TableBuilder::drop_table(const String &name) {
2021-08-19 23:55:16 +02:00
return this;
}
TableBuilder *TableBuilder::drop_table_if_exists(const String &name) {
2021-08-19 23:55:16 +02:00
return this;
}
TableBuilder *TableBuilder::cdrop_table() {
return this;
}
TableBuilder *TableBuilder::foreign_key(const String &name) {
2021-08-19 23:55:16 +02:00
return this;
}
TableBuilder *TableBuilder::references(const String &table, const String &name) {
2021-08-19 23:55:16 +02:00
return this;
}
Ref<QueryResult> TableBuilder::run() {
return Ref<QueryResult>();
2021-08-19 23:55:16 +02:00
}
2021-08-19 23:55:16 +02:00
void TableBuilder::run_query() {
}
2021-08-19 23:55:16 +02:00
void TableBuilder::print() {
printf("%s\n", result.c_str());
}
TableBuilder::TableBuilder() {
}
TableBuilder::~TableBuilder() {
}