diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 10:00:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 10:02:19 +0200 |
commit | edaa6f79149a79d6b59efa711bbd5feeeb40513e (patch) | |
tree | a83f76e1b353c825886073f3d1086c9f67164e75 /odb/sqlite/transaction.hxx | |
parent | 55fd0fe24bb754b34381cf26fed1327cd37415fc (diff) |
Add transaction::connection(database&) overload
Diffstat (limited to 'odb/sqlite/transaction.hxx')
-rw-r--r-- | odb/sqlite/transaction.hxx | 3 |
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. // |