VSQLite++ 0.3
Loading...
Searching...
No Matches
connection.hpp File Reference

Owning RAII wrapper for sqlite3* handles plus attachment helpers and statement caching. More...

#include <cstdint>
#include <memory>
#include <string>
#include <sqlite/filesystem_adapter.hpp>
#include <sqlite/statement_cache.hpp>
Include dependency graph for connection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sqlite::v2::connection
 connection is used to open, close, attach and detach a database. Further it has to be passed to all classes since it represents the connection to the database and contains the internal needed handle, so you can see a connection object as handle to the database An object of this class is not copyable More...

Namespaces

namespace  sqlite
namespace  sqlite::v2

Enumerations

enum class  sqlite::v2::open_mode { sqlite::v2::open_readonly , sqlite::v2::open_existing , sqlite::v2::open_or_create , sqlite::v2::always_create }

Detailed Description

Owning RAII wrapper for sqlite3* handles plus attachment helpers and statement caching.

The sqlite::connection type encapsulates opening/closing databases, attaches additional files, surfaces sqlite3_last_insert_rowid, and exposes the statement cache used by higher-level APIs.

Definition in file connection.hpp.