diff options
Diffstat (limited to 'odb/sqlite/transaction.hxx')
-rw-r--r-- | odb/sqlite/transaction.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/sqlite/transaction.hxx b/odb/sqlite/transaction.hxx index b41ed10..5e8c141 100644 --- a/odb/sqlite/transaction.hxx +++ b/odb/sqlite/transaction.hxx @@ -1,5 +1,4 @@ // file : odb/sqlite/transaction.hxx -// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_SQLITE_TRANSACTION_HXX @@ -41,6 +40,9 @@ namespace odb connection_type& connection (); + connection_type& + connection (odb::database&); + // Return current transaction or throw if there is no transaction // in effect. // |