aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/mssql/database.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/mssql/database.hxx b/odb/mssql/database.hxx
index a133634..d177228 100644
--- a/odb/mssql/database.hxx
+++ b/odb/mssql/database.hxx
@@ -461,6 +461,11 @@ namespace odb
using odb::database::tracer;
public:
+ // Database id constant (useful for meta-programming).
+ //
+ static const odb::database_id database_id = id_mssql;
+
+ public:
virtual
~database ();