mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 02:06:02 -04:00
Fix #65 Database::getHandle() exposes underlying SQLite handle
- needed to mix with other libraries or advance usage
This commit is contained in:
parent
f39b84c879
commit
4bd8786e6a
@ -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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user