diff options
author | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-09 01:04:33 +0000 |
---|---|---|
committer | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-09 01:04:33 +0000 |
commit | c0f497ebcbd225623107d13b687b56dda0b1c470 (patch) | |
tree | 9757f26e8ea14119388bebf5df55e9c5be36f7bc | |
parent | 6c1f7c5dcb8cf3e7a59727ed90bf6f0867a683c7 (diff) |
Hack access for get_connection
-rw-r--r-- | public/sqlite_orm/sqlite_orm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/sqlite_orm/sqlite_orm.h b/public/sqlite_orm/sqlite_orm.h index 2a75ffee..67df39aa 100644 --- a/public/sqlite_orm/sqlite_orm.h +++ b/public/sqlite_orm/sqlite_orm.h @@ -12432,6 +12432,7 @@ namespace sqlite_orm { } } + public: connection_ref get_connection() { connection_ref res{*this->connection}; if(1 == this->connection->retain_count()) { |