From 43dc08e8df03eac590f92c4d92ecdb14c72050e2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Jan 2013 10:55:13 +0200 Subject: Add database id constant (useful for meta-programming) --- odb/oracle/database.hxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/odb/oracle/database.hxx b/odb/oracle/database.hxx index ae0dc38..2b36e56 100644 --- a/odb/oracle/database.hxx +++ b/odb/oracle/database.hxx @@ -379,6 +379,11 @@ namespace odb using odb::database::tracer; public: + // Database id constant (useful for meta-programming). + // + static const odb::database_id database_id = id_oracle; + + public: virtual ~database (); -- cgit v1.1