32 #ifndef GUARD_SQLITE_CONNECTION_HPP_INCLUDED
33 #define GUARD_SQLITE_CONNECTION_HPP_INCLUDED
35 #include <boost/noncopyable.hpp>
65 void attach(std::string
const & db, std::string
const & database_alias);
72 void detach(std::string
const & database_alias);
76 void open(std::string
const & db);
connection is used to open, close, attach and detach a database. Further it has to be passed to all c...
void attach(std::string const &db, std::string const &database_alias)
attaches another database file to the database represented by the object of this class....
void detach(std::string const &database_alias)
detaches a database via alias, if the same database was attached with several names they will be stil...
connection(std::string const &db)
constructor opens the database
~connection()
destructor closes the database automatically
void open(std::string const &db)
A internal used class, shall not be used from users.