Fix #65 Database::getHandle() exposes underlying SQLite handle

- needed to mix with other libraries or advance usage
This commit is contained in:
Sébastien Rombauts 2015-09-09 18:59:18 +02:00
parent f39b84c879
commit 4bd8786e6a

View File

@ -276,6 +276,12 @@ public:
return sqlite3_errmsg(mpSQLite);
}
/// Return raw pointer to SQLite Database Connection Handle (often needed to mix with other libraries or advance usage).
inline sqlite3* getHandle() const noexcept // nothrow
{
return mpSQLite;
}
/**
* @brief Create or redefine a SQL function or aggregate in the sqlite database.
*