aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/transaction.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/transaction.ixx')
-rw-r--r--odb/pgsql/transaction.ixx8
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/pgsql/transaction.ixx b/odb/pgsql/transaction.ixx
index 7a2c375..31aa603 100644
--- a/odb/pgsql/transaction.ixx
+++ b/odb/pgsql/transaction.ixx
@@ -39,7 +39,13 @@ namespace odb
inline transaction::connection_type& transaction::
connection ()
{
- return implementation ().connection ();
+ return static_cast<connection_type&> (odb::transaction::connection ());
+ }
+
+ inline transaction::connection_type& transaction::
+ connection (odb::database& db)
+ {
+ return static_cast<connection_type&> (odb::transaction::connection (db));
}
inline void transaction::