aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/database.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/database.hxx')
-rw-r--r--odb/sqlite/database.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/sqlite/database.hxx b/odb/sqlite/database.hxx
index e7650f7..a626b73 100644
--- a/odb/sqlite/database.hxx
+++ b/odb/sqlite/database.hxx
@@ -350,6 +350,11 @@ namespace odb
using odb::database::tracer;
public:
+ // Database id constant (useful for meta-programming).
+ //
+ static const odb::database_id database_id = id_sqlite;
+
+ public:
virtual
~database ();