blob: 56eeb91f7bb0b62f0c5008d28302805e998d39b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "command_fwd.h"
#include <map>
#include <set>
#include <string>
#include <utility>
namespace DB {
class Connection;
class TablePatch;
}
namespace Gentoo::Utils::Database {
std::string emptyClone(DB::Connection *, const std::string &);
std::pair<std::string, DB::ModifyCommandPtr> namedTemp(
DB::Connection *, const std::string &, const std::map<std::string, const std::string> & cols);
void drop(DB::Connection *, const std::string &);
DB::ModifyCommandPtr tablePatchInserter(DB::Connection *, const DB::TablePatch &);
DB::ModifyCommandPtr tablePatchInserter(DB::Connection *, const std::string &, const std::set<std::string> &);
}
|