From c48c8cd8b949cf6b9662596a6078cb6812087247 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 30 Apr 2021 12:05:12 +0200 Subject: Add transaction::connection(database&) overload --- odb/mssql/transaction.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb/mssql/transaction.hxx') diff --git a/odb/mssql/transaction.hxx b/odb/mssql/transaction.hxx index 0271f54..8c86515 100644 --- a/odb/mssql/transaction.hxx +++ b/odb/mssql/transaction.hxx @@ -41,6 +41,9 @@ namespace odb connection_type& connection (); + connection_type& + connection (odb::database&); + // Return current transaction or throw if there is no transaction // in effect. // -- cgit v1.1