diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-17 10:55:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-17 10:55:13 +0200 |
commit | 43dc08e8df03eac590f92c4d92ecdb14c72050e2 (patch) | |
tree | 843045e04a33b146436e2bd158289d9e92cf0621 | |
parent | bbf19494f111068075e7c3483089359d8fdc1335 (diff) |
Add database id constant (useful for meta-programming)
-rw-r--r-- | odb/oracle/database.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
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 (); |