Skip to content

Commit 0d94f09

Browse files
Add utilitiy to get sqlite3 connection handle directly, see fnc12#1000
1 parent fdcc1da commit 0d94f09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/sqlite_orm/sqlite_orm.h

+4
Original file line numberDiff line numberDiff line change
@@ -12280,6 +12280,10 @@ namespace sqlite_orm {
1228012280
backup.step(-1);
1228112281
}
1228212282

12283+
sqlite3* getSQLite3ConnectionHandle() {
12284+
return this->get_connection().get();
12285+
}
12286+
1228312287
void backup_from(const std::string& filename) {
1228412288
auto backup = this->make_backup_from(filename);
1228512289
backup.step(-1);

0 commit comments

Comments
 (0)