diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 12:05:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 12:08:00 +0200 |
commit | c48c8cd8b949cf6b9662596a6078cb6812087247 (patch) | |
tree | 958d72e450ab84361f222cb8947524f653223259 /odb/mssql/transaction.hxx | |
parent | 673e3b37ad38402437956b692ed379a2ee7d083e (diff) |
Add transaction::connection(database&) overload
Diffstat (limited to 'odb/mssql/transaction.hxx')
-rw-r--r-- | odb/mssql/transaction.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
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. // |