-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsqlite_api.h
More file actions
36 lines (30 loc) · 793 Bytes
/
sqlite_api.h
File metadata and controls
36 lines (30 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <string>
#include <vector>
#include <map>
#include <memory>
////////////////////////////////////////////////////////////////////////////////
//
//
//
////////////////////////////////////////////////////////////////////////////////
using std::string;
using std::map;
using std::vector;
class SQLiteApi
{
public:
SQLiteApi(char const* path);
~SQLiteApi();
auto open() const -> bool;
public:
auto schema(char const* ofTable) const -> string;
auto table_list() const -> vector<string>;
auto table_info(char const* name) const -> vector<string>;
private:
class impl; std::unique_ptr<impl> pimpl;
};
////////////////////////////////////////////////////////////////////////////////
//
//
//
////////////////////////////////////////////////////////////////////////////////