aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/transaction.hxx')
-rw-r--r--odb/sqlite/transaction.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/sqlite/transaction.hxx b/odb/sqlite/transaction.hxx
index 01df7d4..5e8c141 100644
--- a/odb/sqlite/transaction.hxx
+++ b/odb/sqlite/transaction.hxx
@@ -40,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.
//