rcpp_framework/core/database/table_builder.cpp

87 lines
1.6 KiB
C++

#include "table_builder.h"
#include "query_result.h"
TableBuilder *TableBuilder::create_table(const std::string &name) {
return this;
}
TableBuilder *TableBuilder::integer(const std::string &name) {
return this;
}
TableBuilder *TableBuilder::date(const std::string &name) {
return this;
}
TableBuilder *TableBuilder::varchar(const std::string &name, const int length) {
return this;
}
TableBuilder *TableBuilder::not_null() {
return this;
}
TableBuilder *TableBuilder::null() {
return this;
}
TableBuilder *TableBuilder::auto_increment() {
return this;
}
TableBuilder *TableBuilder::primary_key(const std::string &name) {
return this;
}
TableBuilder *TableBuilder::primary_key() {
return this;
}
TableBuilder *TableBuilder::next_row() {
return this;
}
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 std::string &name) {
return this;
}
TableBuilder *TableBuilder::drop_table_if_exists(const std::string &name) {
return this;
}
TableBuilder *TableBuilder::cdrop_table() {
return this;
}
TableBuilder *TableBuilder::foreign_key(const std::string &name) {
return this;
}
TableBuilder *TableBuilder::references(const std::string &table, const std::string &name) {
return this;
}
Ref<QueryResult> TableBuilder::run() {
return Ref<QueryResult>();
}
void TableBuilder::run_query() {
}
void TableBuilder::print() {
printf("%s\n", result.c_str());
}
TableBuilder::TableBuilder() {
}
TableBuilder::~TableBuilder() {
}