aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/connection.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/connection.ixx')
-rw-r--r--odb/oracle/connection.ixx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/oracle/connection.ixx b/odb/oracle/connection.ixx
index 40a9eda..165c2df 100644
--- a/odb/oracle/connection.ixx
+++ b/odb/oracle/connection.ixx
@@ -6,6 +6,12 @@ namespace odb
{
namespace oracle
{
+ inline database& connection::
+ database ()
+ {
+ return static_cast<connection_factory&> (factory_).database ();
+ }
+
template <typename T>
inline prepared_query<T> connection::
prepare_query (const char* n, const char* q)