32 #ifndef GUARD_SQLITE_VIEW_HPP_INCLUDED 33 #define GUARD_SQLITE_VIEW_HPP_INCLUDED 58 void create(
bool temporary,
59 std::string
const & alias,
60 std::string
const & sql_query);
70 void create(
bool temporary,
71 std::string
const & database,
72 std::string
const & alias,
73 std::string
const & sql_query);
78 void drop(std::string
const & alias);
84 void drop(std::string
const & database, std::string
const & alias);
89 #endif //GUARD_SQLITE_VIEW_HPP_INCLUDED
connection is used to open, close, attach and detach a database. Further it has to be passed to all c...
view(connection &con)
constructor
void drop(std::string const &alias)
drops a view
void create(bool temporary, std::string const &alias, std::string const &sql_query)
creates a view
view is used to create views. In SQLite a view can only be queried. INSERT, DELETE and UPDATE will fa...