aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/query.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:43 +0200
commit9f0b648c14bbb6dbb1a36c9bd4d88c5773c72ca0 (patch)
tree1f831fefcf6a5bc6e4a5bfb4113977b61f01bb7f /odb/mssql/query.hxx
parente04895dcc4008a8c0cf53f34ef787a9c686ebcde (diff)
Namespace management for static multi-database support
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
Diffstat (limited to 'odb/mssql/query.hxx')
-rw-r--r--odb/mssql/query.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/mssql/query.hxx b/odb/mssql/query.hxx
index 356ed58..d9a84e4 100644
--- a/odb/mssql/query.hxx
+++ b/odb/mssql/query.hxx
@@ -2376,6 +2376,11 @@ namespace odb
{
}
};
+
+ namespace core
+ {
+ using mssql::query;
+ }
}
// Derive odb::query from odb::mssql::query so that it can be